copying cues with applescript

210 views
Skip to first unread message

Richard Williamson

unread,
Oct 26, 2023, 9:59:56 AM10/26/23
to 'Rich Walsh' via QLab
Hello

Is the example below (from 2019) still the best way to duplicate a cue with AppleScript, or is there a neater way - Is fancy-paste scriptable? If so I assume I could create a new cue then paste all the properties which may be neater? 

tell application "System Events" to tell (first application process whose bundle identifier is "com.figure53.QLab.4") -- set frontmost to true -- ###TESTING### Need this line if testing from Script Editor! click menu item "Copy" of menu 1 of menu bar item "Edit" of menu bar 1 click menu item "Paste" of menu 1 of menu bar item "Edit" of menu bar 1end tell
tell application id "com.figure53.QLab.4" to tell front workspace set copiedCue to last item of (selected as list) set q name of copiedCue to "Test"end tell

Thanks

Richard

--

Rich Walsh

unread,
Oct 26, 2023, 3:07:32 PM10/26/23
to ql...@googlegroups.com
“Copy” is still not in QLab's AppleScript dictionary. I don’t think there’s another way to duplicate a cue.

“Paste” isn’t in the dictionary either, so you’re going to be stuck with UI scripting for that too. A subset of cue properties are in the dictionary though, so you might be able to get / set AS properties to do what  you need – but probably not…

Rich

Richard Williamson

unread,
Oct 26, 2023, 3:27:18 PM10/26/23
to ql...@googlegroups.com
Thanks - I suspected that would be the case but good to know for sure!!

Sent from my iPhone

On 26 Oct 2023, at 20:07, 'Rich Walsh' via QLab <ql...@googlegroups.com> wrote:

“Copy” is still not in QLab's AppleScript dictionary. I don’t think there’s another way to duplicate a cue.
--
Contact support anytime: sup...@figure53.com
Follow QLab on Twitter: https://twitter.com/QLabApp
User Group Code of Conduct: https://qlab.app/code-of-conduct/
---
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/53371E2E-D116-4727-8F56-7A411F21C4AD%40mac.com.

jimsta...@zoho.com

unread,
Oct 26, 2023, 5:38:50 PM10/26/23
to QLab
  Perhaps connecting your choice of Elgato Stream Deck, downloading the QLab icon pack*, and programming buttons (and knobs, if Stream Deck +) would be an easier edit solution.
  Editing with Stream Deck was suggested some time ago on this forum. I already had the Mini and have been using that, but the + would be much more productive.
*On the new Elgato marketplace, the QLab Icon Pack still claims to have 75 icons, but it only contains 40. Sent a message to Elgato.
Jim

jimsta...@zoho.com

unread,
Nov 2, 2023, 3:14:50 PM11/2/23
to QLab
Reply from Elgato below.
Creating a profile on a computer with the old 75-icon pack and copying it to another uses the icons in that profile.
Jim
I have spoken with both our dev team and the icon maker. It appears that they had to remove a number of icons due to licensing reasons. So 40 icons inside of the pack is an accurate number.
Reply all
Reply to author
Forward
0 new messages