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

Collect files in new folder via AppleScript and a plug-in Desktop
The Group in New Folder script in the Big Cat Scripts Plug-in was my favorite Finder tool for a long time, and I was very upset when it was broken in Leopard. I have managed to hack togather something that can be activated using AmScriptsCMX(UB).

Here is my script. To use it, first nstall AmScriptsCMX(UB) and put the below script in ~/Library/Scripts. Warning: I am not an AppleScript wizard; this script works for me as is, though. Usual disclaimer applies. Please do let me know if this script can be improved. Thanks to part of this hint that I referred to, and also to BigCat's original script, for making the revised version possible.
    •    
  • Currently 2.17 / 5
  You rated: 4 / 5 (6 votes cast)
 
[8,462 views]  

Collect files in new folder via AppleScript and a plug-in | 3 comments | Create New Account
Click here to return to the 'Collect files in new folder via AppleScript and a plug-in' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Collect files in new folder via AppleScript and a plug-in
Authored by: Danni on Dec 30, '08 12:36:33PM

Your script seems to work just fine. As an alternative, I've already been using OnMyCommand, http://free.abracode.com/cmworkshop/on_my_command.html with a command called Put Items in New Folder. Same result, but also works interchangeably with both Finder and Path Finder (a must-have for me since long before Rob gave it its triple crown POTW last month!). OMC also has a number of other incredibly useful commands available, and is worth checking out.



[ Reply to This | # ]
Collect files in new folder via AppleScript and a plug-in
Authored by: francism on Jan 02, '09 09:21:58AM

I just installed On My Command and it looks like it's quite a powerful tool.

It's very easy to import the examples on the OMC website, the instructions could perhaps be better written.

One thing I'm not too crazy about is how the folder is named for the "Put Items In New Folder" command - if I put spaces in the folder name in the pop-up window, a "\" is added for each space, e.g.: Folder Name in pop-up: "City Renewal Project" - Folder Name when created: "City\ Renewal\ Project".

Also, how does one put the command higher up in the contextual menu. Right now, I select some files, then control-click, select "More", select "On My Command", then select "Put Items in New Folder".



[ Reply to This | # ]
Collect files in new folder via AppleScript and a plug-in
Authored by: Danni on Jan 05, '09 07:53:24AM

I don't know how to fix the backslashes, and initial experimentation (changing the escape special characters) didn't work. Maybe someone else can offer a solution.

As for moving the commands up in the contextual menu hierarchy, the OMCedit pane has a location drop-down menu that lets you select Top Level. In Finder, you still have to go through "More"; in Path Finder, top level IS top level.



[ Reply to This | # ]