<< Click to Display Table of Contents >> Navigation: Special tags (USER, <#PAGES>, <TIME-OUT>, <BUTTON>... > Action list - Macro language |
A macro is a comma delimited list of commands.
Available commands:
Command |
Syntax |
Action |
---|---|---|
Click on the print button |
||
PRINT1 |
Print the current page without user interaction |
|
EXPORT |
EXPORT EXPORT=filename |
If filename is not specified the export window is displayed |
NEXT |
Advance to the next page |
|
PREV |
Go to the previous page |
|
FIRST |
Go to the first page |
|
LAST |
Advance to the last page |
|
ZOOM+ |
Increase the zoom factor |
|
ZOOM- |
Decrease the zoom factor |
|
LEAVE |
Exit from the command list |
|
GOTO |
GOTOn GOTO+n GOTO-n |
Go to the command number n Advance to +n command Return to -n command |
EXIT CLOSE |
Close the preview window |
|
PAGE |
PAGE=nnn PAGEnnn |
Displays the page nnn |
OPEN WAIT |
OPEN=filename WAIT=filename |
Opens the filename. If WAIT, vpxPrint waits until the process terminates before control is back. |
BEEP BELL |
||
MSG |
MSG=Message
MSG(Icon_Name)=Message |
Send a message without waiting for a user action.
Examples: <F4(Next page\, beep\,msg\, print1)= NEXT,beep,MSG=Go to the next page and print !" + CHR(1) + CHR(1) + "New functionality of the version 10 (\<F4=\>).,PRINT1>" "<SHIFT-F1(Create a pdf)=export=c:\temp\export.pdf,msg(PDF)=PDF file has been created.>" Commas and '>' characters must be escaped with a \ character. Icon_Name is the name of the icon displayed in the box. See below (*) the available icons. |
QUESTION |
QUESTION=MyQuestion / Title |
Displays a question dialog box.with three buttons YES, NO and CANCEL. If i is the entry number of the QUESTION keyword, the following sequence is executed: •If the user clicks on YES, the control is given to the next command i + 1, then to i + 3 (except if i+1 is a GOTO keyword) •If the user clicks on NO, the control is given to the command i + 2, then to i + 3 (except if i+2 is a GOTO keyword) •If the user clicks on CANCEL, the execution of the macro sequence is stopped
Example: |