Variables

There are some internal variables which can be used in the parameter area of a PenCommand script:

 

 

You can omit the index digit 0 (e.g. <*str> is equal to <*str0>).  Examples of variables usage include:

 

<#macro><*str>     

// perform PenCommand with name from string0

 

<#type>Sincerely yours,<*return><*str8>    

// type “Sincerely yours,”, then type string8 content on the next line

 

<#Start>”C:\Program Files\Apps\<*str3>.exe”

// Start program with name from string3, which is located in C:\Program Files\Apps\<folder>

 

Commands for variables manipulation:

 

// set value to appropriate variable

<#SetStr>, <#SetSymb>, <#SetInt>    

 

// show dialog box to ask variable value

<#AskStr>, <#AskSymb>, <#AskInt>

 

See Also

Special Symbols

Type Command