<varout> Sends (outputs) variable's value to the active window as a sequence of keystrokes or through the clipboard.
Command Tree: | Variables \ Send | ||||||||
. | |||||||||
Syntax: | <varout>("Variable",
Clipboard)
|
||||||||
. | |||||||||
. | |||||||||
Example: | <#> This macro
demonstrates use of <varout> command <#> The macro activates Notepad and writes a text in it. <#> <commands_only_on> <if_win>("Notepad","OPEN",0) <actwin>("Notepad",0,0,"no") <if_win>("Notepad","ACT",0) <varset>("vText=This is Notepad","") <varout>("vText",0) <endif> <else> <msg>(100,100,"Notepad is not running.","Message",1) <endif>) |