I have written a few useful pythonista scripts for my iphone and I would like to be able to launch each script separately from its own home screen icon. I have searched but can't find any information on how to do this. Is there a way to do this?
Forum Archive
Launch scripts from home screen
frankL
Jan 14, 2021 - 22:31
cvp
Jan 14, 2021 - 22:38
@frankL it was possible in the past but no more. Read this for a workaround via Shortcuts app
frankL
Jan 15, 2021 - 14:44
Thank you
frankL
Jan 15, 2021 - 18:29
I downloaded the Shortcuts app and have been trying to get it to open my pythonista script. When I run the shortcut, I keep getting a "file not found" error. I've tried various pathnames to the file and none seem to work. The script is in a subfolder in the "This iPhone" folder. I tried moving the script to the "This iPhone" folder and that doesn't work either. Any suggestions?
cvp
Jan 15, 2021 - 18:50
Url="pythonista3://yourfolder/your script.py?action=run"
Open url
Script in local Pythonista files
frankL
Jan 15, 2021 - 19:04
That works! Thank you!