Okay, so now the AppleScript works here too :-S. I'm not *too* fond of using AppleScript for that reason — I can remember the "kill appleeventsd" days. I can also hear the PathFinder users yelling at us that QS activates the Finder when moving things to the Trash ;-).
What we could do is actually reselect the collection of objects that was trashed instead of IMHO the useless "parent folder" we return now. And then maybe doing some wiggly-dancing and store the old file's path in the object so that at least QS can "Put Back" — not that I will work on that though :-S. As I said, there's no way to get a grab of that "trashed file <-> original file" equivalence anywhere — I've looked at some obvious places (extended attributes came to mind), as well as Finder's behavior under fseventer, and even after a Force-Quit cycle it remembers where to Put Back so it's definitely storing something somewhere. I'd say file an issue, though I think it's duplicated already ;-). Regards, Etienne Samson -- [email protected] > Le 20 mai 2015 à 23:45, Jon Stovell <[email protected]> a écrit : > > On Monday, May 18, 2015 at 6:39:18 AM UTC-6, Etienne wrote: > Note that here, neither the AppleScript method, nor the bash method you've > pointed out since work. > > That’s not quite correct, at least on OS X 10.10. Try the following in Script > Editor for evidence. > > set thefile to (POSIX file (do shell script "mktemp ~/Desktop/foo.XXXXX")) as > alias > delay 1 -- So we can see it on the desktop before moving on > tell application "Finder" > delete thefile > reveal thefile -- Shows it in the Trash > end tell > -- Now right click on the file in the Trash. The Put Back option will be > available, at least on OS X Yosemite. > > Perhaps a simple solution would be to reimplement the Move to Trash action as > an AppleScript call to Finder? > > -- > You received this message because you are subscribed to the Google Groups > "Quicksilver" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/blacktree-quicksilver. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Quicksilver" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/blacktree-quicksilver. For more options, visit https://groups.google.com/d/optout.
