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.


    Building command line app with xcode export but I need a button to pass arguments to the app

    Pythonista
    2
    3
    1869
    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.
    • radlsneak
      radlsneak last edited by

      Hello

      I'm building an exported to xcode iphone app that is basically a command line app. In pythonista itself I can pass arguments to the app but when it's built in xcode it doesn't have that ability. Any suggestions on how to incorporate this in to my little project?

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

        What about console.input_alert(title[, message, input, ok_button_title])
        Show a dialog with a single text field. The text field can be pre-filled with the input parameter. The text that was entered by the user is returned. The ‘Cancel’ button sends a KeyboardInterrupt (which will usually stop the script).

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

          Thanks ccc!

          The answers were right in front of me.

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