Call event [ ] from function [ ]

Command

CALLFUNCTION

Image

Group Actions
Section Function
Description

Allows you to run a script function.  When this command is executed the current function will be paused until the function called has completed.

Parameter 1

The event for which the script function will be invoked. Being event_globalexecute it will allow the function to be global. The following events are available:

  • event_globalexecute
  • event_scriptstart
  • event_scriptcodecall
  • event_scriptend
  • event_screenstart
  • event_screenkeypress
  • event_screennext
  • event_screenend
  • event_onfocus
  • event_onkeypress
  • event_onclick
  • event_onchange
  • event_oncheckedchange
  • event_event_ondoubleclick
  • event_onexit
Parameter 2

The name of the function you want to run. The following wild cards are supported:

  • % - means current screen
  • *ABC – any function that ends ABC
  • ABC* - any function that starts ABC
  • *ABC* - any function that contains ABC
  • ABC*XYZ – any function that starts with ABC and ends with XYZ