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(""e&"Pick a Boy:""e&comma into js
put "[""e&"Manny""e&comma"e& "Moe" after js
put quote & comma & quote &"Jack""e &"])" 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