Re: getting current time from QuickTime Player
Re: getting current time from QuickTime Player
- Subject: Re: getting current time from QuickTime Player
- From: Emmanuel <email@hidden>
- Date: Thu, 2 May 2002 18:43:22 +0200
At 9:45 PM +0200 1/5/02, Kinsella, John R. wrote:
>
>
Do any scripters out there know how the current time of
>
tell application "QuickTime Player"
>
set current_time to the current time
>
end tell
>
is calcuated? Or how I can reformat that number into a useable
>
[00.00.00.000] format?
You get seconds by dividing the "current time" of a movie by its "time scale".
For instance, while I'm writing, QuickTime Player plays a piece with:
time scale = 600
duration = 579935, which means 579935/600 = 966,... seconds.
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.