• 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
How to deal with Asynchronous Finder operations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to deal with Asynchronous Finder operations


  • Subject: How to deal with Asynchronous Finder operations
  • From: "Kumar Shailove" <email@hidden>
  • Date: Thu, 15 Sep 2005 14:51:14 +0530
  • Thread-topic: How to deal with Asynchronous Finder operations

Hi list,

Finder operations are asynchronous, i.e. if I execute the following
script -

tell application "Finder"
	empty trash
	display dialog "abc"
end tell

If the Trash is taking, say, 5 minutes to become empty, the dialog is
displayed and the script execution completes. I want to wait until the
statement in the first line has been executed (or more precisely I
should say, the operation corresponding to this statement should be
completed) and then only the script should proceed with the next
statement(s). Any ideas ?


Thanks in Advance
Kumar Shailove.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to deal with Asynchronous Finder operations
      • From: Andrew Oliver <email@hidden>
    • Re: How to deal with Asynchronous Finder operations
      • From: Jay Louvion <email@hidden>
  • Prev by Date: Re: Converting Mac Roman and/or UTF 16 to UTF 8?
  • Next by Date: Re: a numeric bug.
  • Previous by thread: RE: quicktime on second monitor
  • Next by thread: Re: How to deal with Asynchronous Finder operations
  • Index(es):
    • Date
    • Thread