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

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
  • Follow-Ups:
    • Re: How to deal with Asynchronous Finder operations
      • From: Christopher Nebel <email@hidden>
References: 
 >Re: How to deal with Asynchronous Finder operations (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: [SUL] Remove very last CR
  • Next by Date: Re: How to do some AppleScript inside a Perl program to label duplicates
  • Previous by thread: Re: How to deal with Asynchronous Finder operations
  • Next by thread: Re: How to deal with Asynchronous Finder operations
  • Index(es):
    • Date
    • Thread