Skip to content

Instantly share code, notes, and snippets.

View akrnmd's full-sized avatar
🌴
On vacation

kin arima akrnmd

🌴
On vacation
View GitHub Profile
@akrnmd
akrnmd / ReadTheMatrix.script
Last active October 3, 2020 00:00
Read The Matrix. #SenseTalk #eggplant
Put Imagelocation("X-ImageName").x into LocationX
Put Imagelocation("Y-ImageName").y into LocationY
Log ReadText(LocationX, LocationY)
@akrnmd
akrnmd / UseArray.script
Last active October 3, 2020 00:00
Use Array. #SenseTalk #eggplant
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
@akrnmd
akrnmd / ImageOffset.script
Last active October 3, 2020 00:00
Offset arbitrary values from the hot spot of the original image. #SenseTalk #eggplant
Click "[ImageName]"
Click "[ImageName]" + (0,-30) --(x, y)
@akrnmd
akrnmd / TryXTimes.script
Last active October 2, 2020 23:59
Try X Times. #SenseTalk #eggplant
repeat 3 times
try
[YourAction]
exit repeat
end try
end repeat
@akrnmd
akrnmd / SortTheList.script
Last active October 2, 2020 23:59
Sort The List. #SenseTalk #eggplant
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