omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. pointer_midel

    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.


    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    pointer_midel

    @pointer_midel

    0
    Reputation
    449
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    pointer_midel Unfollow Follow

    Latest posts made by pointer_midel

    • RE: General bug report thread

      @dgelessus mentioned it, but I'd like to confirm the whole hud_alert sending a constant KeyboardInterupt when you hide the cancel button. I don't know why it was never noted when I posted in July.

      https://omz-forums.appspot.com/pythonista/post/5284607821873152#post-5284607821873152

      posted in Pythonista
      pointer_midel
      pointer_midel
    • [BugReport] console.input_alert always sends KeyboardInterrupt when hide_cancel_button is True

      console.input_alert(title[, message, input, ok_button_title, hide_cancel_button=False])

      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.

      I've been writing a script that makes use of some user input_alerts and login_alerts from the console library. The script is designed to allow users to get a listing of a SFTP folder and download a "list" of files from the server to a folder within Pythonista. The selector makes use of a number input into a input_alert. Wanting to avoid the script termination to a KeyboardInterrupt

      I hid the Cancel button only to discover that it always causes a KeyboardInterrupt. For an example I am providing the Gist to the script since it is mostly complete and I planned on sharing it upon completion anyway.

      Gist Link

      posted in Pythonista
      pointer_midel
      pointer_midel