Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.6: Gather Finder Items with a new Service' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Gather Finder Items with a new Service
Authored by: kquinn on Mar 11, '11 03:05:24AM

I use this simple Applescript (and it works for files in the Trash):

tell application "Finder"
set theSelection to selection
choose folder
set theDestination to the result
move theSelection to theDestination
end tell

Save it as an app, and trigger it with a Butler shortcut.



[ Reply to This | # ]
10.6: Gather Finder Items with a new Service
Authored by: Frederico on Mar 14, '11 11:47:35PM

True, your script works from "the outside" of the Trash, but it cannot even Choose, let alone *create* a folder within the Trash itself; nor does it automate folder naming, etc.

To me, the whole point of scripting repetitive tasks is to *eliminate* as many human actions as possible. To use your script in place of mine, I would add not less than 30 additional keystrokes and mouse clicks to an action I perform 2-3 times weekly.

Thanks, anyway (:



[ Reply to This | # ]
10.6: Gather Finder Items with a new Service
Authored by: ovek on Apr 28, '11 01:11:38PM

First, I need to excuse myself, as I am new to this site (and to be honest: the Mac platform). I'm an old Windows-user trying to translate my ancient .bat-file knowledge to the modern world...

I've been researching these scripts myself, but my needs seem simpler than these scripts are written.

See, after I've downloaded new versions of iOS apps, I always move ALL the .ipa-files from the trash to the same folder ("/Volumes/1TB/backup/old iOS apps (saved from trash)/".

To quote yourself Frederico: "To me, the whole point of scripting repetitive tasks is to *eliminate* as many human actions as possible.". I agree totally. In fact, I would prefer to have my needs taken care of totally automatically, in other words: the second an .ipa-file enters the trash, it's automatically moved to my predetermined folder.

I assume folder actions are needed here? I suspect this script might even be quite short, as the actions needed are fairly simple. I would appreciate some help with how to write this from you gurus!



[ Reply to This | # ]