<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)
Variable | Variable to send out.
Clipboard | If 1, the variable value is send to the active window through the clipboard. If 0, the variable value is send to the active window as a sequence of keyboard keystrokes.
. |
. |
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>)