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
put the RemoteWorkInterval into defaultRWI | |
put the MouseDoubleClickDelay into clickTime | |
set the RemoteWorkInterval to clickTime | |
MoveTo "[TargetImage]" | |
click | |
click | |
click | |
set the RemoteWorkInterval to defaultRWI |
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
function SwipeUpToTarget targetimage | |
//call example: | |
//get myfunctions.SwipeUpToTarget("[targetimage]") | |
Repeat until ImageFound(Image: targetimage, WaitFor:1) | |
SwipeUp | |
wait 1 | |
End repeat | |
return | |
end SwipeUpToTarget |
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
set MyFile to resourcepath("textfile.txt") | |
repeat with MyLine = each line of file MyFile | |
typetext MyLine, returnKey | |
end repeat |
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
repeat with CurrentImage = each item of ImageInfo("[collection name]") | |
Click (Image:CurrentImage.imagepath, WaitFor:5) | |
end repeat |
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
//call example: | |
//run "RunOtherScriptWithParams" [MyText] | |
params MyText | |
TypeText MyText,Return |
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
//use example: | |
//shell "c:\windows\system32\cmd.exe", <</c "ipconfig > C:\Users\[UserName]\tmp.txt">> | |
shell "c:\windows\system32\cmd.exe", <</c "[YourCommand] > [FileFullPath]">> | |
put file "[FileFullPath]" into FileContents | |
log FileContents |
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
Put 10 into NumberOfRetries | |
Put 0 into i | |
Repeat While i < NumberOfRetries | |
Try | |
Connect [ConnectionName] | |
Log ("Connect Ok") | |
Put i + NumberOfRetries into i | |
Catch | |
LogWarning ("Connect NG Try : " & i +1) |
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
set ExcelFile to Workbook(ResourcePath("Data.xlsx")) | |
set ExcelSheet to ExcelFile.Wrksheet("Sheet1") | |
put ((Cell(ExcelSheet, "A1"),),) into MyCellA1 | |
log MyCellA1 | |
put ((ExcelSheet.Cell(1,2),),) into MyCellA2 | |
log MyCellA2 |
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
Put ReadText("[ImageNameTopLeft]","[ImageNameBottomRight]") into MyText | |
log MyText |
OlderNewer