Skip to content

Instantly share code, notes, and snippets.

@seumasmorrison
Created September 12, 2017 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seumasmorrison/c2ff2a7e7549233bf24fe5afd3ead89c to your computer and use it in GitHub Desktop.
Save seumasmorrison/c2ff2a7e7549233bf24fe5afd3ead89c to your computer and use it in GitHub Desktop.
Sikuli script for automating data export from Teledyne's Velocity application ( moves through a long timseries exporting csv data for each section )
counter = 1
for n in range(362,800):
counter = counter + 2.5
t=find("1505122022039.png")
click(t)
wait(5)
click(Location(round(1032+n+counter),86))
wait(3)
if not exists("1505121767755.png"):
click(t)
wait(22)
hover("1505138005465.png")
click(Location(29,53))
wait(18)
if exists("1505138055181.png"):
hover("1505138005465.png")
click(Location(29,53))
wait(5)
click("1505122766289.png")
wait(4)
type(Key.RIGHT)
wait(2)
type("_"+str(n)+"_")
wait(2)
type(Key.ENTER)
wait(9)
type(Key.ENTER)
wait(5)
click("1505122671391.png")
wait(7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment