Macro execution: KEYS / FREE TEXT + COMMANDS - < keys > ... [Free]
Macro execution: KEYS / FREE TEXT + COMMANDS |
||||||||||||||||||||||||||||
This command changes how the macro is played back. The part of the macro that follows after this command is played back so that whole macro text (keys) are executed. Use this command to enable playback of all macro text (keys) if "cmds" command was previously used. |
||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
Example (Macro Steps):
|
||||||||||||||||||||||||||||
|
Example (Plain Text):
<#> This macro shows how to use 'cmds' and 'keys' commands
<cmds>
<label>("lbl_Again")
<msg>(100,100,"Starting Notepad ...","Message",0)
<execappex>("notepad.exe","","",0,0)
<waitfor>("WIN","OPEN","[* - Notepad|Notepad|#0|#119]",15,0)
<msgoff>
<keys>Hello,
this macro just demonstrates 'cmds/keys' commands.
<cmds>
<varset>("vAgain=YES/NO","Do you want to run this macro again ?")
<if_str>("vAgain==YES")
<goto>("lbl_Again")
<endif>