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 "ABC,DEF,GHI"&return&"GHI,DEF,ABC" into array | |
put item 2 of line 1 of array & item 2 of line 2 of array into A | |
answer A -- "DEFDEF" Is displayed |
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
Click "[ImageName]" | |
Click "[ImageName]" + (0,-30) --(x, y) |
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 3 times | |
try | |
[YourAction] | |
exit repeat | |
end try | |
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
put (5,4,2,3,1) into MyList | |
log MyList | |
sort descending MyList | |
log MyList --5,4,3,2,1 | |
sort ascending MyList | |
log MyList --1,2,3,4,5 |
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 EveryImageLocation("[TargetImage]") into MyImageList | |
log MyImageList | |
//If the [TargetImage] is a collection, sorting may be necessary | |
sort MyImageList | |
//Click Selected Image | |
Click item 1 of MyImageList |
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 |
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 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
//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
//call example: | |
//run "RunOtherScriptWithParams" [MyText] | |
params MyText | |
TypeText MyText,Return |