Need to update my iOS but can't until i know editorial will work :)
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Posts made by average
-
iOS 15 supported?
-
RE: Editorial Dropbox Sync Delay
yeah i think what's happening is that it's modifying the old version of the file (since youre writing to the current state before it refreshes), and then once it downloads the remote file, it realizes its different so there's a conflicting file generated rather than just resolving the generally trivial merge conflict (if its just adding text at the top).
this problem is exacerbate when using scripts since appending by workflow script will work without waiting for a dropbox sync completion, thereby guaranteeing failure and a generated conflicted file.
anyone know how to make workflows wait for a dropbox sync?
-
RE: The button of snippets in Editorial
does that mean editorial is buggy on ios 13?
-
RE: Editorial Dropbox Sync Delay
i also frequently get conflicting files that im modifying. even for simple things like adding a line at the top of the file. you'd think dropbox should be able to consolidate those changes.
yeah idk why it's happening.
-
Does editorial and pythonista work on iPhone 6s iOS 13.1.2 (latest)?
because i really want to upgrade but only if editorial and pythonista will still work. does it?
-
RE: using appex to modify a photo creation date directly
cool but this doesn't seem to work fully. this changes the creation_date but how do you change the "taken date" as if the image was taken (not edited) just now?
import photos, dialogs asset = photos.pick_asset() new_date = dialogs.datetime_dialog('Set Creation Date') asset.creation_date = new_date
-
Workflow to hide keyboard
How can I have a workflow hide the keyboard if the editor text is focused?
I have a script that focuses a section and you have to put the caret in the section you want to focus. I want the keyboard to hide though.
-
Programmatically "Sync now"
Sometimes I update my dropbox text files remotely and want editorial to sync now. how do i get it to do this programmatically via the python editor?
real use case is that i want editorial to hit and endpoint which will remotely modify my dropbox file and then i want to reload those changes rather than manually do it.
-
RE: Contacts Images
oh interesting. I looked for this specifically on that particular page. what brings about the differences in the documentations? it makes me hesitant to use something if its documentation is suspect (possibly alluding to deprecation).
also, how do you view the docs on the app?
-
RE: Create a new contact with a contact pic
What @cvp said. Thanks again @cvp, you saved me countless hours. You must be some sort of guru I take it :)
-
RE: Create a new contact with a contact pic
Update I figured it out, thanks!!
heres what worked:
pn=ObjCClass('CNPhoneNumber').alloc().init(stringValue='1231231234') lv=ObjCClass('CNLabeledValue').alloc().init(label=contacts.MAIN_PHONE, value=pn).autorelease() mc.phoneNumbers=[lv]
-
RE: Create a new contact with a contact pic
thanks! that seems to work great for creating a new contact and retaining the image.
how do I add a phone number? heres what I’m trying unsuccessfully:
lv=ObjCClass('CNLabeledValue').alloc().init() lv.label='Main' lv.value='1113335555' mc.phoneNumbers=[lv]
thank you!
-
Create a new contact with a contact pic
I've been trying to create a contact and assign it a default pic for the past hour.
-
I use the normal contacts module to create and save a person, newPerson with basic fields and a middle name thats like "tmpId" that i use as an identifier for the next step.
-
I use basically this code to get that person by a unique middle name identifier and set their contact image to the last taken image on the device. i reset the middle name to blank. https://github.com/tdamdouni/Pythonista/blob/master/module/contacts-module-access-profile-picture.py
what i'm seeing is exactly the behavior i want: normal person, empty middle name, and a contact pic. however, after about 10 seconds, the contact gets modified to have the middle name set to my identifier and the contact image gone. almost like the mutations get erased. precisely what I don't want.
data points:
- iphone 6s latest os
- all contacts are synced to cloud on google
- manually editing the contact and setting the image works fine
- latest pythonista version
any ideas on how to just create a contact using the CNContact like in the link i shared (rather than just for the mutation step) rather than this two step process?
-