• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: getting current time from QuickTime Player
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: WWDC 2002 Session description: 106
  • Next by Date: re: Way to determine if on 10.0.4?
  • Previous by thread: getting current time from QuickTime Player
  • Next by thread: Applescript CGI
  • Index(es):
    • Date
    • Thread