Re: get default browser?
Re: get default browser?
- Subject: Re: get default browser?
- From: Emmanuel <email@hidden>
- Date: Tue, 6 Aug 2002 12:12:25 +0200
At 12:20 AM +0200 4/8/02, Reinhold Penner wrote:
>
>
I would love to get the script. Do you by any chance have the reverse
>
code as well (i.e. StringToHex)? The HexToString bit is actually not
>
such a huge problem
Smile's String to Hexa is not vanillable that easily. It requires one of
those tricky coercions to text ("<<data pstrHEXASTUFF>>" IIRC) and we use
Smile's "display" command for that. Other tricks include extracting a
sub-string out of an error message, so I suppose there is no cool way as
for today.
String to Hexa's core line:
---------------------
set theResult to theResult & text 13 thru -2 of (display (theChunk as
Pascal string))
---------------------
Emmanuel
Vanilla HexToString handler download:
<
http://www.satimage-software.com/downloads/VanillaHexToString.sit.hqx>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.