Macro execution: ONLY COMMANDS - < cmds > ... [Free]
Macro execution: ONLY 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 only commands are executed while other macro text (keys) is ignored. This prevents macro from inserting unwanted keys (for example new lines used just to format macro) during playback. To enable playback of all macro text (keys) use "keys" command. |
||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
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>