Gideon King (gid...@novamind.com) on 2010-02-15 00:28 said:

>Hi, I have a need to zip a selection of files from a folder.
>
> ...
>
>Are there any other options that I'm not aware of?

NSWorkspaceCompressOperation?  Sounds promising, right?  But the docs
say "This operation always returns an error"?  HA! :)

Did you investigate Scripting Bridge, AppleScript, or Apple Events?  The
Finder has a Compress option in its File menu, maybe you can tell Finder
to zip for you.  Stay away from NSTask when you can.

Sean

--
"Patriotism is supporting your country all the time, and your government
when it deserves it." - Mark Twain

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to