SEND KEYSTROKES - < keystrokes >() ... [Pro]
Keyboard SEND KEYSTROKES |
||||||||||||||||
The command sends defined sequence of keystrokes to the currently active window. The command allows to control the speed of the keystrokes by specifying two additional parameters. If they are set to 5 and 25 then the meaning is "delay sending of keystrokes for 5 milliseconds after each 25 keystrokes are sent". |
||||||||||||||||
|
||||||||||||||||
|
||||||||||||||||
Example (Macro Steps):
|
||||||||||||||||
|
Example (Plain Text):
<#> This sample slowly types 'Hello!' to Notepad (if it is open)
<cmds>
<if_win>("[* - Notepad|Notepad|#46|#118]","OPEN",0)
<actwin>("[* - Notepad|Notepad|#46|#118]",0,0)
<keystrokes>("Hello!","500","5")
<else>
<msg>(100,100,"'Notepad' is not opened!","Message",1)
<endif>