Raymond
Jun 11, 2022 - 20:54
How can i do action input using pythonista url, like:
pythonista3://Test.py/?action=run/
So when user click url i can get the string that in place, help me if you can.
How can i do action input using pythonista url, like:
pythonista3://Test.py/?action=run/
So when user click url i can get the string that in place, help me if you can.
@Raymond doc of Pythonista url scheme says
Example: pythonista://MyScript?action=run&args=foo%20bar
When you pass a single string with the args URL parameter,
the string is split by spaces (the space is encoded as %20 here)
and sys.argv would be [<script_path>, 'foo', 'bar'] in this example.
See MyScript without .py and usage of "&"