tell application id "com.figure53.qlab.3" to tell front workspace
set midiCues to every cue whose q type is "MIDI"
set midiCuesRef to a reference to midiCues
repeat with eachCue in midiCuesRef
if q name of eachCue contains "pitch" then
set thisCue to q number of eachCue
set thisCueList to parent of cue thisCue
tell thisCueList
delete cue thisCue
end tell
end if
end repeat
end tell
--
--
Change your preferences or unsubscribe here:
http://groups.google.com/group/qlab
Follow Figure 53 on Twitter: http://twitter.com/Figure53
---
You received this message because you are subscribed to the Google Groups "QLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qlab+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qlab/07a9fd1b-d822-49ce-98b7-38b64d1143aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "QLab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/qlab/0GHE4sPD7QU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to qlab+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qlab/CANrzNvwyOzRdAeQCvkUx4BA3yFepXLFGvs4S%2B16F7p7jKXGw2g%40mail.gmail.com.
set thisCue to q number of eachCue
set thisCue to uniqueID of eachCue
To view this discussion on the web visit https://groups.google.com/d/msgid/qlab/1b0a8f26-8334-41d1-a771-1566c1b0fe32%40googlegroups.com.
tell front workspace
set midicues to every cue whose q type is "MIDI" and q name contains "Pitch"
repeat with eachCue in midicues
set eachCueID to uniqueID of eachCue
delete cue id eachCueID of parent of eachCue
end repeat
end tell
Mic