• 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
Making a repeat loop without slowing CPU
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Making a repeat loop without slowing CPU


  • Subject: Making a repeat loop without slowing CPU
  • From: email@hidden
  • Date: Wed, 17 Jul 2002 18:55:31 EDT

I'm trying to write an AppleScript that will tell me when the movie thats
being downloaded into MoviePlayer has finished loading.

So far, I've got:

tell application "QuickTime Player"
activate
if the max time loaded of movie 1 = the duration of movie 1 then
display dialog "Finished loading movie!"
tell me to quit
end if

end tell

This works, but I need to put it into a repeat-loop of some sort. I thought
that if I did a SAVE with the "Stay Open" checkbox checked, that it would be
in a "repeated state" in a background mode. I think my perception of Stay
Open must be incorrect, as this check that I'm doing does not repeat itself
when I save in that fashion. Can anyone please steer me in the right
direction?
_______________________________________________
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: kill switch for script
  • Next by Date: Re: Creator Types in OS X...
  • Previous by thread: Re: Creator Types in OS X...
  • Next by thread: Re: Making a repeat loop without slowing CPU
  • Index(es):
    • Date
    • Thread