Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
autoit:basic [2014/06/02 10:05] – lunetikk | autoit:basic [2017/09/29 16:43] – lunetikk |
---|
| Sleep(1000) | Sleep 1 second | | | Sleep(1000) | Sleep 1 second | |
| Exit 0 | close the script | | | Exit 0 | close the script | |
| MouseClick("left", 123,123, 2,0) | execute mouseclick left on pos 123,123 twice | | | MouseClick("left", 123,123, 2,0) | execute mouseclick left on pos 123,123 twice, middle/left/right possible | |
| MouseGetPos() | get the current mouseposition | | | MouseGetPos() | get the current mouseposition | |
| MouseClickDrag ( "left", 72, 317, 780, 470, 10 ) | drag the cursor from pos 72,317 to 780,470 in 10 | | | MouseClickDrag ( "left", 72, 317, 780, 470, 10 ) | drag the cursor from pos 72,317 to 780,470 in 10 | |
| | MouseWheel("down",10) | scroll down 10 times, down/up possible | |
| Send("Hello World") | type "Hello World" into selected textfield | | | Send("Hello World") | type "Hello World" into selected textfield | |
| Send("{enter}") | send "Enter" command | | | Send("{enter}") | send "Enter" command | |
| dim $var1 | init "var1" | | | dim $var1 | init "var1" | |
| $var1 = "Hello World" | set "Hello World" to "var1" | | | $var1 = "Hello World" | set "Hello World" to "var1" | |
| | <code>ClipPut('this text goes to clipboard') |
| Send("^v")</code> | get text into clipboard and then paste it with ctrl+v instead of typing it | |
| |
| \\ |
| \\ |
| ~~DISCUSSION~~ |