Accessing AddressBook.data: javascript?

Klaus Major klaus at major-k.de
Wed Jan 11 05:52:34 EST 2006


Bonjour Paul,

i realized that you are french :-)

> Guten Tag Klaus,
>
>> sorry, but Rev cannot handle JavaScript via the "do" command.
>> Actually Rev cannot handle JS at all!
> I've read this in the Transcript official documentation about "do"  
> command:
> "On Mac OS and OS X systems, the OSALanguageName is a script  
> language (such
> as AppleScript) supported under the Open Scripting Architecture. The
> available languages are returned by the alternateLanguages  
> function. If you
> specify an OSALanguageName, the statementList must be written in the
> specified language."
>
> Did you mean that what they said it's wrong?

No, but there is no mention of JavaScript, the only "alternateLanguages"
is AppleScript in the moment.

Type this into your message box and hit ENTER:

answer the alternateLanguages

You will only see "applescript"

So they were not wrong, may just a bit less precise as one could  
wish ;-)

>> But i really doubt that this plugin can be used/addressed from within
>> Rev.
> I'm sorry for this;

Yes, it looks a bit "amateurish" when you only want a simple address
and the whole application starts up, when you use an Applescript.

But that's the way it is in the moment.

Maybe there are some "shell" commands that one could use?
Or, extract the address(es) from some file? Where and how?
Any insights from other listees?

> have you also see the method used by the Easy Envelope
> Widget (http://www.macupdate.com/info.php/id/19130)?
>
> Ciao
>
> Paul Claude
> -- 
> Greetings from Rome

Greetings from the Rhineland :-)

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the use-livecode mailing list