Workspace Page as SourceHandle
Moderator: Moderators
- sideshowbond
- Posts: 182
- Joined: 18 Nov 2016, 20:58
Workspace Page as SourceHandle
I am trying to label workspace pages via macro. I am wondering how I could possibly set a workspace page to be the SourceHandle.
-
- Posts: 1089
- Joined: 02 Jul 2010, 10:29
- Location: Siegen, Germany
- Contact:
Re: Workspace Page as SourceHandle
You don't ned to - instead you select the correct page with Handles.SetGroupPage(group, index) and then set the page name with Handles.SetGroupPageName(group, legend).
Here is an example which I have tried and will put it in the wiki now:
Here is an example which I have tried and will put it in the wiki now:
Code: Select all
<step>Handles.SetGroupPage("Fixtures", 0)</step>
<step>Handles.SetGroupPageName("Fixtures", "Generics")</step>
<step>Handles.SetGroupPage("Fixtures", 1)</step>
<step>Handles.SetGroupPageName("Fixtures", "Spots")</step>
<step>Handles.SetGroupPage("Fixtures", 2)</step>
<step>Handles.SetGroupPageName("Fixtures", "Washes")</step>
<step>Handles.SetGroupPage("Fixtures", 3)</step>
<step>Handles.SetGroupPageName("Fixtures", "LED Wall")</step>
-
- Posts: 1089
- Joined: 02 Jul 2010, 10:29
- Location: Siegen, Germany
- Contact:
-
- Posts: 1089
- Joined: 02 Jul 2010, 10:29
- Location: Siegen, Germany
- Contact:
Re: Workspace Page as SourceHandle
To add to this:
When using characters outside the ASCII character table as name the results may vary:
- in order to get an ampersand ( the & character) you must write it as entity (&): Handles.SetGroupPageName(“Colours”, “Greens & Blues”)
- german Umlauts (ä, ö, ü, ß and the like) work normally (entities would throw errors): Handles.SetGroupPageName(“Colours”, “Grün”)
- you can even display UTF-16 characters by using the HTML code notation, e.g. for the Yuan character 元: Handles.SetGroupPageName(“Playbacks”, “元”)
When using characters outside the ASCII character table as name the results may vary:
- in order to get an ampersand ( the & character) you must write it as entity (&): Handles.SetGroupPageName(“Colours”, “Greens & Blues”)
- german Umlauts (ä, ö, ü, ß and the like) work normally (entities would throw errors): Handles.SetGroupPageName(“Colours”, “Grün”)
- you can even display UTF-16 characters by using the HTML code notation, e.g. for the Yuan character 元: Handles.SetGroupPageName(“Playbacks”, “元”)
Who is online
Users browsing this forum: No registered users and 27 guests