Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Synced movie playback in Mac OS X and Quicktime Player (assuming sync at movie start)
- -- Play-Pause
- tell application "QuickTime Player"
- set isPlaying to (playing of document 1)
- set doc1time to current time of document 1
- tell every document
- if isPlaying then pause
- set current time to doc1time
- if not isPlaying then play
- end tell
- end tell
- -- Forward 30 Seconds
- tell application "QuickTime Player"
- set isPlaying to (playing of document 1)
- set doc1time to current time of document 1
- tell every document
- set current time to doc1time + 30
- end tell
- end tell
- -- Reverse 10 seconds
- tell application "QuickTime Player"
- set isPlaying to (playing of document 1)
- set doc1time to current time of document 1
- tell every document
- set current time to doc1time - 10
- end tell
- end tell
Add Comment
Please, Sign In to add comment