PageLab Sample Code

From Axel Public Wiki
Revision as of 13:12, 17 December 2014 by Axelpwiki (talk | contribs) (Created page with "Category:PageLab '''How to...''' __TOC__ ==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) * Speci...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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