There are some internal variables which can be used in the parameter area of a PenCommand script:
10 text strings up to 256 symbols length (<*str0>-<*str9>)
10 one character symbols (<*symb0>-<*symb9>)
10 integers (<*int0>-<*int9>)
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