Accessing AddressBook.data: javascript?

Klaus Major klaus at major-k.de
Wed Jan 11 17:03:17 EST 2006


Hi Martin,

> Klaus Major wrote:
>> And has anybody already "done" something AS Javascript????
>> THAT would be very intersting! ;-)
>>> Tom
>
> yep, I guess so,
>
> I just did this:
>
> put "Core.pick("&quote&"Pick a Boy:"&quote&comma into js
> put "["&quote&"Manny"&quote&comma&quote& "Moe" after js
> put quote & comma & quote &"Jack"&quote &"])" after js
> do js as javascript
> put the result
>
> which puts up an alert featuring a list field populated with the  
> entries Manny, Moe, Jack and returns the text of the line you choose.
>
> the example is adapted from the Intro pdf
>
> Does that count?

Sure :-)

> Martin

Regards

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




More information about the use-livecode mailing list