omz:forum

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

    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 4
    • Best 0
    • Controversial 0
    • Groups 0

    JeremyMH

    @JeremyMH

    0
    Reputation
    476
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    JeremyMH Unfollow Follow

    Latest posts made by JeremyMH

    • RE: Pythonista Countdown on button with .pyui
      import ui
      
      def startlaunch(countdown):
      	viewvalue = countdown.superview
      	tapped = viewvalue['launchbutton']
      	started = False
      	if tapped:
      		started = True
      	while tapped: 
      		ui.delay(countdowntick, 1)
      	
      def countdowntick():
      	print("hi")
      
      v = ui.load_view()
      v.present('sheet')
      

      but that just crashes it

      posted in Pythonista
      JeremyMH
      JeremyMH
    • RE: Pythonista Countdown on button with .pyui

      like for example, how would i make it call the function and how woukd i change the value of the ui? i havent used python in a while.

      posted in Pythonista
      JeremyMH
      JeremyMH
    • RE: Pythonista Countdown on button with .pyui

      sorry im kind of a noob. can you please explain further! thanks

      posted in Pythonista
      JeremyMH
      JeremyMH
    • Pythonista Countdown on button with .pyui

      How do I make a timer start to countdown with the click of a button? Here is an image of what I have so far. Im trying to make it so when you click "Launch", the timer starts. Can anyone help me? Thanks

      posted in Pythonista
      JeremyMH
      JeremyMH