Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

nicolaselhani

macrumors member
Original poster
Oct 1, 2015
92
50
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.