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: The Karl Adam <email@hidden>
- Date: Mon, 17 Jan 2005 03:44:45 -0500
While this may solve the problem of moving a .webloc, I believe the
original question was how to create a .webloc file and he made an
anecdotal reference to it's not being "normal" by this peculiar
behavior with cp.
P.S. I too am interested in ways to do this.
-Karl
On Mon, 17 Jan 2005 02:36:15 -0600, Charles Srstka
<email@hidden> wrote:
> 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
>
_______________________________________________
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