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.


    Cannot show alert from main UI thread

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

      Apparently I can't launch

      player_name = console.input_alert('What is your name? ').title()
      

      in a scene already running?

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

        What module? In ui, you need to put it in a function and use @ui.in_background to decorate it. You will need to have the function call something after getting the title.

        Not sure about the scene module.

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

          In the scene module.

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