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.
Shortcut argument passing
-
I’m writing a shortcut which runs a Pythonista script and has arguments. I would prefer not to use the clipboard to send the arguments but I will use it to receive the results. When I execute a script with an argument using the Pythonista action in Shortcuts, My script gives “List out of range“ when it sees sys.arg[1]
What have I overlooked? -
-
And here
and Pythonista issue -
Thanks. I suppose I can either put the arguments in a URL or use the clipboard in both directions.
I guess Ole is no longer maintaining his wonderful creation. -
@ihf I think (and hope) he will.
See "What's New in Pythonista" page in the documentation, where @omz says «If you’ve been using the beta, you may notice that the “Siri Shortcuts” feature is missing from this release. It’s still planned, but the beta implementation was based on already-outdated iOS 12 APIs, and I want to take a little more time for a version that makes use of new iOS 13 features like custom parameters. Thanks for your patience! There’s still a lot of new stuff to discover in this update.»