Example
This example demonstrates how to call scripts in your Gateway Scripting Project from a Tag.
- Set up your Gateway Scripting Project under Config > Gateway Settings:

- Open your Gateway Scripting Project and add a library called myFuncs.
Define a new function in this library called thankYou:
def thankYou(user):
system.gui.messageBox("Thanks for noticing me, " + user)
- Save your Gateway Scripting Project and exit.
- Open a new project.
- Choose a Tag and configure a Tag Event Script on the Alarm Acknowledged event.
You can call any function within the myFuncs library in your Gateway Scripting Project:
myFuncs.thankYou(user = ackedBy)
Note: You do not need to specify the name of your Gateway Scripting Project when calling any of its functions.