Hello,
I have set up an AppleScript Automator Quick Action Shortcut to Forward 10 Seconds and Rewind 10 Seconds in QuickTime Player.
Can anyone help with setting up an AppleScript to Toggle/Cycle the Subtitle track?
Here's the reference AppleScript for Forwarding 10 Seconds.
property step : 10
tell application "QuickTime Player"
if front document exists then
if ((current time of front document) + step) ≤ (duration of front document) then
set (current time of front document) to ((current time of front document) + step)
else
set (current time of front document) to (duration of front document)
end if
end if
end tell
Thanks,
Nick
I have set up an AppleScript Automator Quick Action Shortcut to Forward 10 Seconds and Rewind 10 Seconds in QuickTime Player.
Can anyone help with setting up an AppleScript to Toggle/Cycle the Subtitle track?
Here's the reference AppleScript for Forwarding 10 Seconds.
property step : 10
tell application "QuickTime Player"
if front document exists then
if ((current time of front document) + step) ≤ (duration of front document) then
set (current time of front document) to ((current time of front document) + step)
else
set (current time of front document) to (duration of front document)
end if
end if
end tell
Thanks,
Nick