• 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: Best way to wait
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to wait


  • Subject: Re: Best way to wait
  • From: Pier Kuipers <email@hidden>
  • Date: Thu, 30 Nov 2000 12:19:38 +0000

How about this one:

display dialog "Hello!"
set x to ((current date) + 25)
repeat
if (current date) > x then exit repeat
end repeat
activate me
beep 3
display dialog "Hello Again!"

Save as application, launch, and see what happens: the script keeps
running for 25 seconds, during which time you could be doing other
things.

Pier.

>Just curious what people are using to pause their scripts during
>file transfers over a network. The "add - duplicate to folders"
>folder action that ship with 8.6 and up have a couple of nice
>handlers to check the busy status of a file, but they seem slow.
>Anybody have something better?
>
>jmc.
>_______________________________________________
>applescript-users mailing list
>email@hidden
>http://www.lists.apple.com/mailman/listinfo/applescript-users

--
---
Visual ID
A new concept in the storage
and distribution of corporate and
brand identity
http://www.visualid.com

Pier Kuipers
Visual ID
2 Whitefriars
Aungier Street
Dublin 2
Tel. +353 1 476 7059
Fax +353 1 478 1366
Mobile +353 87 294 3063
ISDN +353 1 602 0754


References: 
 >Best way to wait (From: John McAdams <email@hidden>)

  • Prev by Date: Coerce small icon into picture
  • Next by Date: Image dimensions
  • Previous by thread: Best way to wait
  • Next by thread: Re: Best way to wait
  • Index(es):
    • Date
    • Thread