Page 1 of 1

change REF (userNumber to Location)

Posted: 27 Aug 2023, 11:00
by Andrés Félix
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!

Re: change REF (userNumber to Location)

Posted: 28 Aug 2023, 08:17
by icke_siegen
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