• 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: Trashing files and undo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Trashing files and undo


  • Subject: RE: Trashing files and undo
  • From: "Abernathy, Joshua" <email@hidden>
  • Date: Fri, 11 Jul 2008 10:42:07 -0400
  • Thread-topic: Trashing files and undo

~/.Trash?

-----Original Message-----
From: cocoa-dev-bounces+jabernathy=email@hidden
[mailto:cocoa-dev-bounces+jabernathy=email@hidden
] On Behalf Of Ruotger Skupin
Sent: Friday, July 11, 2008 10:39 AM
To: email@hidden
Subject: Trashing files and undo

Hi,

my app trashes files with -[NSWorkspace
performFileOperation:source:destination:files:tag:] and
NSWorkspaceRecycleOperation. This works flawlessly but users want undo.

NSWorkspace does not seem to allow undoing said file operation (or any
file operation for that matter). Correct me if I'm wrong.

So I might have to figure out where the trash directory for a given
volume/user/file etc is and move it myself. Is there an easy way to
find that out?

Thanks for any pointers

	Ruotger
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
stics.com

This email sent to email@hidden
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Trashing files and undo
      • From: Michael Watson <email@hidden>
References: 
 >Trashing files and undo (From: Ruotger Skupin <email@hidden>)

  • Prev by Date: Trashing files and undo
  • Next by Date: Re: Trashing files and undo
  • Previous by thread: Trashing files and undo
  • Next by thread: Re: Trashing files and undo
  • Index(es):
    • Date
    • Thread