Re: Newbie help needed: capturing keypress to record QuickTime timing
Re: Newbie help needed: capturing keypress to record QuickTime timing
- Subject: Re: Newbie help needed: capturing keypress to record QuickTime timing
- From: Skeeve <email@hidden>
- Date: Wed, 02 Jan 2008 10:35:44 +0100
Okay... I've experimented a bit and here we go:
tell application "QuickTime Player"
activate
tell document of window 1
repeat
if not playing then
set timeframe to current time
log timeframe
if duration <= timeframe then
exit repeat
end if
play
end if
end repeat
end tell
end tell
tell me to activate
display dialog "Tell me your age please" default answer "Not your business"
log the result
1) Start the film
2) Pause the film
3) Start the script
4) Stop the film with spacebar
5) Observe the event protocoll or replace the log statements with a
write to a file
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden