• 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
empty trash on certain disk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

empty trash on certain disk


  • Subject: empty trash on certain disk
  • From: Sascha Kratky <email@hidden>
  • Date: Thu, 21 Jul 2005 10:22:51 +0200

Hi,

is it possible to have the Finder empty the trash on a certain disk via AppleScript under Tiger?
I tried


tell application "Finder"
    empty trash of disk "HD"
end tell

or

tell application "Finder"
    empty disk "HD"
end tell

but both scripts result in an error message.

Thanks,
Sascha

_______________________________________________
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: empty trash on certain disk
      • From: Jay Louvion <email@hidden>
  • Prev by Date: Re: script for system Authentication dialog box.
  • Next by Date: Re: (no subject)
  • Previous by thread: Re: (no subject)
  • Next by thread: Re: empty trash on certain disk
  • Index(es):
    • Date
    • Thread