Transcript version of this AppleScript
alex at tweedly.net
Thu Jul 22 11:40:25 CDT 2004
At 11:08 22/07/2004 -0400, RGould8 at aol.com wrote:
>I've got an Applescript below that converts a text string into a
>format that IE's plist config file understands. (I'm trying to
>save a new URL into IE's default homepage prefs)
>set s to "http://www.google.com/"
>set s to (ASCII character (count s)) & s
>do shell script "echo -n " & quoted form of s & " | openssl base64"
>Can anyone tell me how this could be converted to work as a
>Transcript solution? The base64 encoding is easy - - - it's
>the ASCII character count part that I'm not sure
>how to convert into Transcript
I think that would be
put numToChar(number of characters of s) into t
put t & s into s
PS: you can probably do it in a single statement, but I prefer to take two
steps while I'm not quite sure of the correct way to write it.
PPS: I have no knowledge of Applescript, but I'm guessing the code above
has the obvious meaning ...
-------------- next part --------------
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.719 / Virus Database: 475 - Release Date: 12/07/2004
More information about the use-livecode