• 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: 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


References: 
 >Re: Trashing files and undo (From: Gregory Weston <email@hidden>)
 >Re: Trashing files and undo (From: Ruotger Skupin <email@hidden>)

  • Prev by Date: Re: Trashing files and undo
  • Next by Date: Re: NSOutlineView hiding a column while editing a row in another column
  • Previous by thread: Re: Trashing files and undo
  • Next by thread: Re: Trashing files and undo
  • Index(es):
    • Date
    • Thread