• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: get default browser?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: get default browser? (From: Emmanuel <email@hidden>)
 >Re: get default browser? (From: Reinhold Penner <email@hidden>)

  • Prev by Date: Re: is this a bug?
  • Next by Date: RE: Wait... Wait... [Retrospect]
  • Previous by thread: Re: get default browser?
  • Next by thread: Folder Action Script Question
  • Index(es):
    • Date
    • Thread