> On 2015 Jan 18, at 23:34, Steve Mills <sjmi...@mac.com> wrote: > > Is there any way to ensure that NSWorkspace recycleURLs:completionHandler: > will let the user go to the Finder and Put Back or Undo? I'm very surprised > that it doesn't work right.
True, the documentation says that -[NSWorkspace recycleURLs:completionHandler] acts "in the same manner as the Finder”, but they didn’t say “exactly”. The way to get it to work exactly like Finder is to AppleScript the Finder. This also gives you an additional “bonus” - the trash-can sound effect :) See code in my method -[NSFileManager(SomeMore)trashPath:scriptFinder:error_p:] which is in here: http://github.com/jerrykrinock/CategoriesObjC/blob/For_BkmkMgrs_Ver_2/NSFileManager+SomeMore.m Look at line 294 etc. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com