How to deal with Asynchronous Finder operations
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