Accessing AddressBook.data: javascript?

Martin Baxter mb.ur at harbourhost.co.uk
Wed Jan 11 16:54:44 EST 2006


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?

Martin




More information about the use-livecode mailing list