Hi dear,
I met a strange error arising from a applescript cue - one of these
error happens sometimes, not always, and I can't figure out which are
the conditions that causes it. The strange thing is that sounds like a
syntax problem - but it isn't, the same script without any changes
compiles fine if you click the "compile" button. Attached you can find
a snapshot.
The workspace is quite complex, but it's here:
https://dl.dropboxusercontent.com/u/6974/AllaFieraDellEst%203.2%20QLab3.cues
The error happens (sometimes!), firing "Spettacolo sequenza
principale" till the cue "registrazione strofa", that's where it could
arise.
The applescript code is:
-- activate application "Syphon Recorder"
tell application "System Events"
tell process "Syphon Recorder"
-- click menu item "Start Recording" of menu 1 of menu bar item "File"
of menu bar 1
if (exists checkbox "Stop Recording" of window "Syphon Recorder") is true then
click checkbox "Stop Recording" of window "Syphon Recorder"
end if
end tell
end tell
The error is:
ERROR: expected end of line but found "" (-2741)
and it highlits the " after the word "process".
Any Idea?
regards
michele
--
_________________________________________________________________
Michele Cremaschi
http://michelecremaschi.it
ph.
+39.320.2992681