Re: how to create webloc file in programming?
Re: how to create webloc file in programming?
- Subject: Re: how to create webloc file in programming?
- From: Charles Srstka <email@hidden>
- Date: Mon, 17 Jan 2005 02:36:15 -0600
On Jan 16, 2005, at 10:11 PM, Andrew Farmer wrote:
On 16 Jan 2005, at 20:02, Tim.xu wrote:
I don't know how to create webloc file in programming. I find webloc
file is different with other file type. when I use command "cp
google.webloc ./test/google.webloc", google.webloc is a webloc file
which I create it by hand. But it will destroy the
file(./test/google.webloc). I want to know how to cp the resource in
Mac machine, or how to create webloc file directly in Mac programming
Interface. Thank you.
Try CpMac (in /Developer/Tools), or copy the resource fork
(google.webloc/rsrc) separately.
No need to use CpMac (thereby requiring the user to have the Developer
Tools installed) or to resort to Carbon.
-[NSFileManager copyPath:toPath:handler:] copies the resource fork just
fine.
Charles
_______________________________________________
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