omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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.


    Actions Menu

    Pythonista
    2
    3
    2010
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • briarfox
      briarfox last edited by

      Would it be possible to pass arguments into a script in the actions menu? I see that you can add arguments when it's created but it would be very handy if arguments could be passed with a long press of the action.

      1 Reply Last reply Reply Quote 0
      • ccc
        ccc last edited by

        You could put into the Actions Menu a short script that just uses console.input_alert() to get the args from the user. That short script could in turn call the main() of your larger script passing those user-supplied args.

        1 Reply Last reply Reply Quote 0
        • briarfox
          briarfox last edited by

          @ccc great idea, Thank you.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors