Accessing AddressBook.data: javascript?
Klaus Major
klaus at major-k.de
Wed Jan 11 05:24:16 EST 2006
Buongiorno Paul,
> An old problem; other languages (as RealBasic) have classes who
> allow to
> access the Address Book database without opening the application
> (applescripting method).
>
> My question is: the Address Book Widget (and the Easy Envelope
> widget too)
> can access the database using apparently some Javascript code (you
> may find
> it opening the widget package), and Revolution too can run
> Javascript code
> through the command "do".
>
> There is someone that, knowing the Javascript language, can extract
> the
> right code from these widgets in order to read the records from the
> addressbook.data database?
sorry, but Rev cannot handle JavaScript via the "do" command.
Actually Rev cannot handle JS at all!
Just had a look at the widget you mentioned and it looks like Apple
added an external/plug-in "AddressBook.widgetplugin" there that
gets called by the JavaScript.
But i really doubt that this plugin can be used/addressed from within
Rev.
Regards
Klaus Major
klaus at major-k.de
http://www.major-k.de
More information about the use-livecode
mailing list