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.


    Swiping Automation

    Pythonista
    automate
    4
    5
    2117
    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.
    • PrinceValiant
      PrinceValiant last edited by

      I am brand new to python and my first project that I wanted to try was to automate a swiping feature but I have no idea how to do this. Is there a way to automate swiping on iOS?

      Thank you for any help you can provide!

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

        @PrinceValiant can you elaborate more on what you mean by swipe?

        i feel @mikael might be the best to help with guestures if this is what you mean

        1 Reply Last reply Reply Quote 1
        • PrinceValiant
          PrinceValiant last edited by

          Like I said, very new to this. If you swipe from the right side of your phone to the left, like in photos it will advance to the next picture. I want to create something that will do this on a 3-5 second timer.

          mikael 1 Reply Last reply Reply Quote 0
          • mikael
            mikael @PrinceValiant last edited by

            @PrinceValiant, just to be sure, let it be said that Pythonista cannot ”swipe” other applications on your behalf.

            But to implement what you said within Pythonista, look at NavigationView to animate the movement of the ”incoming” image, photos module to access your pictures, ImageView to present a picture, and ui.delay to manage the timing.

            There are alternative approaches, but these are the most typical options.

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

              Something like this Photos Book could be what you're looking for but my script is far to be perfect.
              If you pick too much photos, sometimes it crashes and even a too quick restart of Pythonista app it-self does not solve the problem.
              But, anyway, nice to see

              https://i.imgur.com/S9m95Rd.jpg

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