PageLab Sample Code
Jump to navigation
Jump to search
How to...
Open a page from a script code
- Define a virtual key in the local action of a Page in the Action window (es: VK_F5)
- Specify the OpenPage action as Action and the name of the page to open as Link
- Create a new USINT dummy variable (es: usiDummy) to avoid warnings and a new local script with this code:
usiDummy := Video_SendEvent(kWM_KEY, kKEY_VK_F5);
- Associate the script to the desired event