Re: NSWorkspace
Re: NSWorkspace
- Subject: Re: NSWorkspace
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 4 Aug 2005 13:47:50 -0600
On Aug 4, 2005, at 12:40 PM, Bret Kurth wrote:
I've been fiddling about for a few days (unsuccessfully) trying to
figure out the proper AppleEvent for telling the Finder to compress
a path. Any chance there is a bit of sample code or documentation
lying about that shows how to do this?
You could simply use the 'zip' command line tool with NSTask to
compress the file(s). I don't know if the command line zip tool
preserves resource forks or Finder metadata, but if you don't care
about those two things, then that should just work.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden