Re: Question about zipping files
Re: Question about zipping files
- Subject: Re: Question about zipping files
- From: "Sean McBride" <email@hidden>
- Date: Mon, 15 Feb 2010 01:06:44 -0500
Gideon King (email@hidden) 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 (email@hidden)
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:
This email sent to email@hidden