Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Add step forward/backward feature to QuickTime Player' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Add step forward/backward feature to QuickTime Player
Authored by: nick_harambee on Aug 16, '10 09:17:41AM

I have this script working in both Quicktime X and Quicktime 7, making the adjustments recommended here for Quicktime X, but am finding that sometimes the script (which I have assigned to a hotkey) pauses Quicktime X when the hotkey is pressed, instead of continuing to play (the playhead does go back 10 seconds though) and wonder if anyone else is experiencing this, and if there is anything that can be done. Using terminal I have set Quicktime X to play files automatically. I am not sure if this is relevant to this issue.

Nick



[ Reply to This | # ]
Add step forward/backward feature to QuickTime Player
Authored by: harywilke on Nov 04, '10 06:27:15AM
i had the same issue. inserting: play front document as the line before the end tell line solved it for me.

[ Reply to This | # ]
Here's a fix for that
Authored by: PopMcGee on Jan 05, '11 04:58:16AM
harywilke's suggestion actually prevents the feature where you can jump trough the movie in pause mode and it stays in pause mode. To get all the fixes for QuickTime Player X and none of the issues, use this:
property step : 10
tell application "QuickTime Player"
	set playerPosition to (current time of front document) + step
	set movieDuration to duration of front document
	if (playerPosition > movieDuration) then
		if front document is playing then
			stop front document
		end if
		set playerPosition to movieDuration
	end if
	if front document is playing then
		set current time of front document to playerPosition
		play front document
	else
		set current time of front document to playerPosition
	end if
end tell
Cheers!

[ Reply to This | # ]