Using scripts from Working Copy for Pythonista share sheet scripts?
Hi all --
I'm trying to get Working Copy integration with Pythonista via the "External Files" functionality, so that code can be stored in Github. I am able to access Github repositories to edit and run code from the main Pythonista window, but I can't figure out how to expose one of these scripts as a Share Sheet script in Pythonista.
In particular, when I'm looking at one of these scripts and choose the little gear icon and tap "Shortcuts... > Share Extension > + [new share extension]", it prompts me to pick the script for the new share extension and my only options are "This iPad" or "iCloud". Is there a way for the script from external files (in this case, Working Copy) to be triggered by the share sheet?
mikael last edited by
@felciano, the only thing that comes to mind right away is to set the Working Copy repo to synchronise with an iCloud folder. Then you can create the share extension from the iCloud folder.
Thanks @mikael -- I will give that a shot and report back.
Hi folks --
I've run into this problem again with the (awesome) new Pythonista 3.4. I tried @mikael's recommendation above to sync with an iCloud folder, but unfortunately, that means sometimes iOS (un)helpfully removes that file to save space. In theory, it is supposed to download on demand, but this appears to be flaky.
One alternative is to use the Linked Directory feature in Working Copy, which should allow me to have Working Copy store the files in a local directory.
However, when navigating through my This iPhone files via the Files app, I can't find the default Pythonista directory that I see when I open the app (e.g. the one that is set up by default with the "Examples" folder in it). Is it possible to navigate to this local Pythonista folder using the Files app?
cvp last edited by
Is it possible to navigate to this local Pythonista folder using the Files app?
Thanks @cvp. Any other suggestions on how to integrate Working Copy in a way that allows you to develop share sheet extensions with Pythonista?