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.
editor.get_path() fails on iPhone, works on iPad
-
I wrote a snippet that uses editor.get_path() as one of the "action" scripts. On the iPad, it works great, but the same code on the iPhone (synced via Dropbox, so I'm pretty sure it's exactly the same) just steals the cursor and highlights the script name(?).
Can anyone replicate this?
-
There's currently a bug that causes the first action in the menu to trigger renaming the current script instead of starting the script of the action, it probably has nothing to do with the get_path function.
To work around this for now, you can put some "dummy" script as the first entry in the menu. Since they're sorted alphabetically, you could use something that starts with an underscore to make sure it appears before the others.
-
That did it! Thanks.