[QLab] AppleScript "self" reference

146 views
Skip to first unread message

Jason Crystal

unread,
Apr 25, 2011, 2:23:02 PM4/25/11
to ql...@lists.figure53.com
Hello all,

Is there a way for an AppleScript cue to refer to itself,
independently of the Active Cue? Just looking for the appropriate
syntax.

Thanks!
-Jason
________________________________________________________
WHEN REPLYING, PLEASE QUOTE ONLY WHAT YOU NEED. Thanks!
Change your preferences or unsubscribe here:
http://lists.figure53.com/listinfo.cgi/qlab-figure53.com
Follow Figure 53 on Twitter here: http://twitter.com/Figure53

Rich Walsh

unread,
Apr 25, 2011, 2:29:20 PM4/25/11
to Discussion and support for QLab users.
On 25 Apr 2011, at 19:23, Jason Crystal wrote:

> Is there a way for an AppleScript cue to refer to itself,
> independently of the Active Cue? Just looking for the appropriate
> syntax.

I tend to use "last item of (active cues as list)" to allow a Script Cue to identify itself. Otherwise, give it a number X and it becomes 'cue "X"' (see http://wiki.figure53.com/QLab+Scripts+and+Macros#x-Basics-Starting%20a%20cue).

Rich

Reply all
Reply to author
Forward
0 new messages