I’m needing to script the QuickTime player under OS X and am new to AppleScript. How do I tell the QuickTime player to bring a specific, already-open window to the front? Because the movies are already open, I can reference them by name.
Thanks
: I’m needing to script the QuickTime player under OS X and am new
: to AppleScript. How do I tell the QuickTime player to bring a
: specific, already-open window to the front? Because the movies
: are already open, I can reference them by name.
: Thanks
I don’t know X but this works in classic…
set x to (choose from list (get name of windows of application "QuickTime Player")) as string
if result is false then return
tell application "QuickTime Player"
activate
select window named x
end tell