Re: Trashing files and undo
Re: Trashing files and undo
- Subject: Re: Trashing files and undo
- From: Gregory Weston <email@hidden>
- Date: Sat, 12 Jul 2008 03:55:05 -0400
On Jul 12, 2008, at 3:25 AM, Ruotger Skupin wrote:
Hi,
if I get you right, you are suggesting I put an alias to the file
into (say) ~/Library/Application Support/MyApp/UndoAliases/
remember the original path/filename then trash the file. To get it
back I resolve the alias and move/rename it.
What's the advantage over the FSRef solution Charles proposed?
Just as a point of clarification, there's no need to actually write
the alias out to disk until/unless you do want it to persist across
launches. I'm talking about alias records, not Finder alias files.
_______________________________________________
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