change REF (userNumber to Location)

This is a place for people to chare the custom macros they have written.

Moderator: Moderators

Andrés Félix
Posts: 4
Joined: 16 Nov 2019, 22:14
Location: Lisboa
Contact:

change REF (userNumber to Location)

Postby Andrés Félix » 27 Aug 2023, 11:00

Hi hope everting going well , today have a question ?
hope someone can help me.
i create macro ( go to cue x in cuelist x)

<sequence>
<step>CueLists.SetNextCue(userNumber:4, 1.0)</step>
<step>CueLists.Play(userNumber:4)</step>

My question is possible to change de reference to location instead userNumber?

Muito Obrigado!
icke_siegen
Posts: 1089
Joined: 02 Jul 2010, 10:29
Location: Siegen, Germany
Contact:

Re: change REF (userNumber to Location)

Postby icke_siegen » 28 Aug 2023, 08:17

As both functions you used need a handle as parameter and the handle can usually be referred to by usernumber, by titanId and by location, the following should work:

Code: Select all

<step>CueLists.SetNextCue("Location=Playbacks,2,1", 1.0)</step>
<step>CueLists.Play("Location=Playbacks,2,1")</step>


The two numbers are 0-based: "Location=Playbacks,2,1" would refer to page 3 button 2.

See https://www.avolites.de/wiki/macros/identifier/location

Who is online

Users browsing this forum: No registered users and 65 guests