• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Question about zipping files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Question about zipping files
      • From: Gideon King <email@hidden>
References: 
 >Question about zipping files (From: Gideon King <email@hidden>)

  • Prev by Date: Re: NSDrawNinePartImage not working ?
  • Next by Date: Bind to string (path), convert to NSImage
  • Previous by thread: Question about zipping files
  • Next by thread: Re: Question about zipping files
  • Index(es):
    • Date
    • Thread