-
Step 1
Type "event.command" into your function. Then type "event.returnValue=" and then a true or false after the equal sign, depending on how you expect your event to work. The script returns a value for your viewing.
-
Step 2
Read the event objects return of information. If used with the "altKey," "shiftKey" or "ctrlKey," the object returns a Boolean that displays when the object kicked off. If used with the "button," the object returns which mouse button the user pressed.
-
Step 3
Embed the "EVENT=command" then "LANGUAGE='vbscript'" in your start up for your event handler to use. Input a specific command, such as when a certain button presses after "EVENT=." The VBScript runs after the command finishes. Exchange "EVENT=command" for "eventname='method'" to use all the commands in your method instead of one specified command to execute and track.
-
Step 4
Use the event object to specify what event with what object you want to execute. Follow this code structure in your VBScript "language='VBscript' for='ObjectName' event='EventName'" and the rest of your script logic you want to execute after you have fetched your object and event handler.










