• 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
Newbie question - listing items in the trash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie question - listing items in the trash


  • Subject: Newbie question - listing items in the trash
  • From: "Waters, Nigel" <email@hidden>
  • Date: Tue, 19 Mar 2002 11:35:43 -0500

I have written a script in Mac OS 8.6 that used the following commands to
list items in the trash folder:

tell application "Finder"
set trash_list to list folder trash
end tell

When I use it in OS 9.2.2, I receive the following error in the event log:

tell application "Finder"
list folder trash
--> Finder got an error: Can't make trash into a item.

Would anyone be willing to help me find the correct command to get the
Finder to list items in the trash? I would greatly appreciate it :-)

Thanks!

NKW.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Newbie question - listing items in the trash
      • From: Christopher Nebel <email@hidden>
    • Re: Newbie question - listing items in the trash
      • From: Andy Wylie <email@hidden>
    • Re: Newbie question - listing items in the trash
      • From: Mr Tea <email@hidden>
  • Prev by Date: Modifying aliases...
  • Next by Date: Re: Applescript partitioning?
  • Previous by thread: Re: Stumped with open file - correction!
  • Next by thread: Re: Newbie question - listing items in the trash
  • Index(es):
    • Date
    • Thread