Trashing files and undo
Trashing files and undo
- Subject: Trashing files and undo
- From: Ruotger Skupin <email@hidden>
- Date: Fri, 11 Jul 2008 16:39:20 +0200
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:
This email sent to email@hidden