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: "M. Uli Kusterer" <email@hidden>
- Date: Mon, 17 Jan 2005 13:03:14 +0100
At 3:44 Uhr -0500 17.01.2005, The Karl Adam wrote:
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.
He pretty much already had it all in his posting: the data is in the
resource fork. It's been a while since I messed with it, but a quick
peek using ResEdit under Classic should give you the needed info.
IIRC, it was just a text resource with a type something like 'URL ',
which contains the raw text of the URL. To create such a resource,
use Carbon resource manager calls or Nathan's NDResourceFork class.
If you just want a double-clickable URL file, you could also use a
.url file instead of a .webloc file. .url comes from Internet
explorer and is data fork only.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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