Created
September 12, 2017 15:29
-
-
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 )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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