Applescript in QLab 5 to control QuickTime Player

60 views
Skip to first unread message

nizer

unread,
Aug 27, 2024, 6:00:51 PM8/27/24
to QLab
I have been trying to open a Quicktime Player Movie Recording window and change the video recording device. 

When you try to get the list of devices 

tell application "QuickTime Player"

activate

get [name, id] of video recording devices

end tell


it returns

{{missing value}, {missing value}}


This has forced me to do some crazy stuff with Maestro that seems risqué and unreliable.


Google has bunch of stuff that says the scripting of QuickTime is broken. I know I can use Accessibility Inspector to get the button and UI elements. Here is link to a discussion of this. https://stackoverflow.com/questions/29994416/set-a-camera-in-quicktime-using-applescript


Any advice or guidance would be greatly appreciated.

Reply all
Reply to author
Forward
0 new messages