Embedded BASIC SCRIPT - < script_basic > ... [Pro]
Embedded BASIC SCRIPT |
||||||||||||||||||
This command runs a "Basic Script" script within the macro. It is possible to exchange data between the program native macro language variables and the Basic Script variables. The variable content exchange is done through DDE - see the samples below. |
||||||||||||||||||
|
||||||||||||||||||
|
||||||||||||||||||
Example (Macro Steps):
|
||||||||||||||||||
|
Example (Plain Text):
<#> Count sin(1), put it to clipboard and show it in Notepad
<#>
<cmds>
<script_basic>
Sub Main
s = Sin(1)
Clipboard s
End Sub
</script_basic>
<execappex>("notepad.exe","","",0,0)
<waitfor>("WIN","OPEN","Notepad",5,0)
<keys><ctrl>v<ctrl>