Loading...
This chapter gives an overview of the members available for the Group Event Listener device. Please read the "Group Event Listener" if you would like to know how to add and use this device. As explained in the topic "Object and Member Notation (dot syntax)", a variety of objects can be addressed in the scripting language by using their members which set, or return if applicable, properties or methods of that object. Please refer to the chapter "Script Language" for more details about scripting in general.
Project.GroupEventListener(deviceName or ID) |
Example: Alternative Example: |
This gives access to all further members of the device "Group Event Listener" from the Configuration dialog. Using the Project object is an alternative to addressing the device directly by entering its name. The Project object allows you to address the device through its name or ID. Substituting the ID with a dynamic variable allows automation. Actions can be performed on many devices of the same type simultaneously, e.g. by using for-loops: For i = 1 to 10 { |
GroupEventListener_Name.Disable |
Example: Alternative Example: |
This disables the Group Event Listener in the Configuration dialog as if the "Enable" check box in the window was unchecked. Use the .Enable member to reverse this command. |
GroupEventListener_Name.Enable |
Example: Alternative Example: |
This enables the Group Event Listener in the Configuration dialog as if the "Enable" check box in the window was checked. Use .Disable member to reverse this command. |
GroupEventListener_Name.IsEnabled |
Example: Alternative Example: |
This member returns the status of the check box "Enable" in the Configuration dialog as a string or Boolean value. The result is "True" if the device is enabled and "False" if it is currently not enabled. The first example shows how to use it with a string variable named "vstring". You can also write it into a Widget, e.g. a Label via the script: Label1.Text = GroupEventListener1.IsEnabled |