Re: How to deal with Asynchronous Finder operations
Re: How to deal with Asynchronous Finder operations
- Subject: Re: How to deal with Asynchronous Finder operations
- From: kai <email@hidden>
- Date: Mon, 19 Sep 2005 01:27:25 +0100
On 16 Sep 2005, at 16:34, Matt Neuburg wrote:
One possibility (I have not tried this) might be to loop with a
delay and
see whether the trash is in fact empty yet...? m.
I recently suggested (elsewhere) something like this:
----------------
tell application "Finder" to tell trash
empty
repeat until (count items) is 0
delay 0.2
end repeat
end tell
display dialog "Trash is empty."
----------------
Works in Tiger - but evidently not in Panther...
---
kai
_______________________________________________
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