Skip to content

Instantly share code, notes, and snippets.

@akrnmd
Last active March 11, 2021 14:19
Show Gist options
  • Select an option

  • Save akrnmd/3988506497df671a5801d0184698013d to your computer and use it in GitHub Desktop.

Select an option

Save akrnmd/3988506497df671a5801d0184698013d to your computer and use it in GitHub Desktop.
Procedure to repeat swipe up until targetimage is found. #SenseTalk #eggplant
function SwipeUpToTarget targetimage
//call example:
//get myfunctions.SwipeUpToTarget("[targetimage]")
Repeat until ImageFound(Image: targetimage, WaitFor:1)
SwipeUp
wait 1
End repeat
return
end SwipeUpToTarget
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment