Loading...
This chapter gives an overview of the members available for Widget and Node Groups. Please read the chapter "Widget and Node Groups" if you would like to know how to add and use this device. As explained in the chapter "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.
With scripting a group, you can change all devices of the same type at the same time by using the following:
WidgetGroup1.CustomScript.SubMember
To talk to a single group member, use the following:
WidgetGroup1.CustomScript("CustomScript1").SubMember
or
WidgetGroup1.CustomScript(1).SubMember
Project.WidgetGroup(groupName).WidgetType.SubMember |
Example: To change the label color for all buttons, use the following: Project.WidgetGroup("WidgetGroup1").CustomScript.SetLabelColor(255,0,255) Or fade down all faders simultaneously: WidgetGroup1.Fader.FadeDown(2) |
To edit all widgets of a type, use the corresponding SubMember of the corresponding type. See chapter "Object and Member Notation (dot syntax)". In addition, the properties of the group can be scripted. |
WidgetGroup_Name.FrameColor |
Example: Alternative Examples: |
This command gets or sets the frame color of the widget group "WidgetGroup1". The returned value is of type color. An alternative command is WidgetGroup.GetFrameColor or WidgetGroup.SetFrameColor. |
WidgetGroup_Name.GetFrameColor |
Example: Alternative Examples: |
This command gets the frame color of widget group "WidgetGroup1". The returned value is of type color. |
WidgetGroup_Name.GetName |
Example: Alternative Examples: |
This command gets the name of widget group "WidgetGroup1". The returned value is of type string. |
WidgetGroup_Name.GetTitleColor |
Example: Alternative Examples: |
This command gets the frame color of widget group "WidgetGroup1". The returned value is of type color. |
WidgetGroup_Name.GetWindowName |
Example: Alternative Examples: |
This command gets the name of the window to which the widget group "WidgetGroup1" belongs. The returned value is of type string. |
WidgetGroup_Name.Name |
Example: Alternative Examples: |
This command gets or sets the name of widget group "WidgetGroup1". The returned value is of type string. An alternative command is: WidgetGroup.GetName. |
WidgetGroup_Name.SetFrameColor |
Example: Alternative Examples: |
This command sets the frame color of widget group "WidgetGroup1" to an intensive violet (Red=150, Green=0, Blue=255). You can change the color manually in the dialog "Widget Group Properties" (double click on the widget group header). An alternative command is WidgetGroup.FrameColor. |
WidgetGroup_Name.SetTitleColor |
Example: Alternative Examples: |
This command sets the title color of widget group "WidgetGroup1" to an intensive violet (Red=150, Green=0, Blue=255). You can change the color manually in the dialog "Widget Group Properties" (double click on the widget group header). An alternative command is WidgetGroup.TitleFontColor. |
WidgetGroup_Name.TitleFontColor |
Example: Alternative Examples: |
This command gets or sets the title color of widget group "WidgetGroup1" to an intensive violet (Red=150, Green=0, Blue=255). The returned value is of type color. You can change the color manually in the dialog "Widget Group Properties" (double click on the widget group header). An alternative command is WidgetGroup.SetTitleColor. |