ResultVariable
When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.
See also: Related Actions
Page.Jump
OverviewExamples
Page.Jump ( string PageName )
De s cr ip t ion
Jumps to a specific page in your application.
Note: This action exits the script on the current event, so any action script occurring after it will not be executed.
Note: You cannot navigate pages when a dialog is visible.
P arame t er s
PageName
(string) The name of the page to jump to.
Re t u r n s
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
Page.Navigate
OverviewExamples
Page.Navigate ( number NavigateType )
De s cr ip t ion
Navigates to a relative page in your application.
Note: This action exits the script on the current event, so any action script occurring after it will not be executed.
Note: You cannot navigate pages when a dialog is visible.
P arame t er s
NavigateType
(number) The type of navigation to use:
CONSTANT |
VALUE DESCRIPTION |
|
PAGE_FIRST |
0 |
Navigate to the first page in the application. |
PAGE_LAST |
1 |
Navigate to the last page in the application. |
PAGE_NEXT |
2 |
Navigate to the next page in the application (according to the order the pages are listed in the program). |
PAGE_PREVIOUS |
3 |
Navigate to the previous page in the application (according to the order the pages are listed in the program). |
PAGE_BACKWARD |
4 |
Navigate one page backward in the user's navigation history (the page the user was on before the current page). |
PAGE_FORWARD |
5 |
Navigate one page forward in the user's navigation history. (For this type to work, the user must have used PAGE_BACKWARD before they can go forward in the navigation history.) |
Re t u r n s
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
Page.Print
OverviewExamples
Page.Print ( boolean ShowPrintDialog = true,
boolean ScaleToFit = true )
De s cr ip t ion
Prints the current page.
Note: Some types of objects have troubles printing with certain printer drivers. The Video object will not display when printed.
P arame t er s
ShowPrintDialog
(boolean) Whether to show the common print dialog before printing.
VALUE DESCRIPTION |
|
true |
Show the common print dialog before printing. (Default) |
false |
Use defaults such as default printer, letter sized paper and choose the best between portrait and landscape. |