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


Click here to return to the '10.6: An AppleScript to compress a Finder selection' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: An AppleScript to compress a Finder selection
Authored by: chrischram on Mar 04, '11 10:47:31AM

Yeah. Why write a script when the function you need is built right into the OS?



[ Reply to This | # ]
10.6: An AppleScript to compress a Finder selection
Authored by: everkleer80 on Mar 04, '11 12:03:34PM
LOL It's funny how many people just look at the title or read the first sentence, and don't bother reading even as far as the second sentence of the hint. =)
As a keyboard-only user, I also wanted to add some other Finder operations, such as file compression.


[ Reply to This | # ]
10.6: An AppleScript to compress a Finder selection
Authored by: drudus on Mar 04, '11 12:57:56PM

It's also funny how many advanced users don't bother checking out the built in features, before using third party tools (Butler) to do basic tasks.

Automator has a built in 'Create Archive' feature (as well as moving & deleting), save that as a Finder plug-in then assign it a shortcut in the Services section of keyboard Shortcuts in System Preferences. No need to write any Applescript to run a Terminal command.

The reason you need the Automator action is because the 'Compress' menu item includes the file name, so targeting a shortcut via the name fails to work.

Edited on Mar 04, '11 12:58:46PM by drudus



[ Reply to This | # ]
10.6: An AppleScript to compress a Finder selection
Authored by: osxpounder on Mar 04, '11 02:48:23PM

Sometimes it's more efficient to let someone find a groovy time-saving hint and share it with you, rather than sink time into exploring all the features that might be available in your OS or apps (or might not be there).

Kinda like prijker did here, giving us this hint.

Thanks, prijker! I really appreciate that you took time to share it with us.



[ Reply to This | # ]