Select a specific window (sequence)

8 views
Skip to first unread message

MLB

unread,
Apr 29, 2015, 8:15:19 AM4/29/15
to icy-so...@googlegroups.com
Hi,
How can I select a sequence ?
seqHor = getSequence("Horizontal flow");
doesn't work

Thank you for your help ?
Marie Laure

Stephane

unread,
Apr 30, 2015, 4:44:57 AM4/30/15
to icy-so...@googlegroups.com
Actually getSequence() is a alias to quickly retrieve the active/focused sequence.
In your case just use the 'gui' object:

// we can have several sequence with the same name so this actually return a list
listSeq
= gui.getSequences("Horizontal flow")

// found matching sequence(s) ?
if (listSeq.size() > 0)
{
   
// get the first one
    seq
= listSeq.get(0)
   
...
}
Reply all
Reply to author
Forward
0 new messages