Re: Accessing AddressBook.data: javascript?

2006-01-12 Thread sims
At 8:17 AM +0100 1/12/06, Paul Claude wrote: But there is anyone that have an idea about how to solve the problem explained in the title of this thread? Does it have to be javascript? Can you use applescript? (I am assuming that you are talking about a Mac) ciao, sims European Rev

Re: Accessing AddressBook.data: javascript?

2006-01-12 Thread Paul Claude
Hi sims, Does it have to be javascript? Can you use applescript? (I am assuming that you are talking about a Mac) ciao, sims If you have read entirly my post, you'll find that the problem is that I need to read the adressbook.data database WITHOUT opening the Address Book app. I would

Re: Accessing AddressBook.data: javascript?

2006-01-12 Thread Scott Rossi
Recently, Paul Claude wrote: the problem is that I need to read the adressbook.data database WITHOUT opening the Address Book app. I would like any suggestion (applescript, shell commands, javascript or any other thing is available through revolution) to do this. Perhaps something here

Re: Accessing AddressBook.data: javascript?

2006-01-12 Thread Martin Baxter
Raymond Griffith wrote: Try this: put Core.pick(*Pick a Boy:*,[*Manny*,*Moe*,*Jack*]) into js do replacetext(js,*,quote) as javascript put the result This is a favorite trick of mine. Having to put in all those quotes and commas into a do-statement is tedious, and often makes the script

Re: Accessing AddressBook.data: javascript?

2006-01-12 Thread Paul Claude
This is a good method, Scott, I knew it before, but the problem is that I cannot prepare a stack for other users that cannot works without another external app. My stack should be sufficient to read the addressbook.data database by itself (like those funny widgets - easy envelope or address book

Re: Accessing AddressBook.data: javascript?

2006-01-12 Thread Klaus Major
Hi Paul, This is a good method, Scott, I knew it before, but the problem is that I cannot prepare a stack for other users that cannot works without another external app. My stack should be sufficient to read the addressbook.data database by itself (like those funny widgets - easy envelope

Re: Accessing AddressBook.data: javascript?

2006-01-12 Thread Paul Claude
Hi Klaus, In Transcript: - (specialfolderpath(asup) /AddressBook/) But looks like this is in binary format? (Binary stuff is still a mistery to me :-) I have no idea how to extract the entries from whatever file in this folder, but i am sure this is possible somehow... Yes I know. If

Re: Accessing AddressBook.data: javascript?

2006-01-12 Thread Klaus Major
Bon jour Paul, Hi Klaus, In Transcript: - (specialfolderpath(asup) /AddressBook/) But looks like this is in binary format? (Binary stuff is still a mistery to me :-) I have no idea how to extract the entries from whatever file in this folder, but i am sure this is possible somehow... Yes

Accessing AddressBook.data: javascript?

2006-01-11 Thread Paul Claude
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

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Klaus Major
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

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Paul Claude
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

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Ton Kuypers
Paul, Klaus, I found out that rev can't do javascript, but you can embed the javascript in an applescript, do the applescript and let applescript take care of the javascript... Works like a charm, you can find instructions on the apple site on how to do it :-) Warm regards, Ton

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Klaus Major
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

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Klaus Major
Dag Ton, Paul, Klaus, I found out that rev can't do javascript, but you can embed the javascript in an applescript, do the applescript and let applescript take care of the javascript... Works like a charm, you can find instructions on the apple site on how to do it :-) dat find ik heel

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Paul Claude
Dear Klaus and Ton, When I write answer the alternateLanguages in the messagebox it gives me AppleScript and JavaScript too! Why it's different for you? I suppose that this means that I can directly use do with JavaScript code. Have you checked the Easy Envelope Widget

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Klaus Major
Hi Paul, Dear Klaus and Ton, When I write answer the alternateLanguages in the messagebox it gives me AppleScript and JavaScript too! ??? I still get applescript only. Why it's different for you? I have no idea??? I use OS X 10.4.4 and Rev 2.6.1 Any ideas, dear listees? I suppose

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Paul Claude
Dear Klaus, I still get applescript only. Why it's different for you? I have no idea??? I use OS X 10.4.4 and Rev 2.6.1 Any ideas, dear listees? I have your same configuration. Have you installed the latest JS environment? Maybe this only is your problem. I will do some experiment

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Klaus Major
Hi Paul, Dear Klaus, I still get applescript only. Why it's different for you? I have no idea??? I use OS X 10.4.4 and Rev 2.6.1 Any ideas, dear listees? I have your same configuration. Have you installed the latest JS environment? ?? Where do I possibly get this one? Maybe this only

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Paul Claude
Dear Klaus, ?? Where do I possibly get this one? Try http://www.apple.com/support/downloads/java2se50release1.html Ciao Paul Claude -- Greetings from Rome ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Klaus Major
Hi Paul, Dear Klaus, ?? Where do I possibly get this one? Try http://www.apple.com/support/downloads/java2se50release1.html this is the latest JAVA (not JavaScript) distribution and I have already installed a newer version. It is getting VERY strange...?! :-) Ciao Paul Claude --

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Paul Claude
this is the latest JAVA (not JavaScript) distribution and I have already installed a newer version. It is getting VERY strange...?! :-) I'm sorry, Klaus, but I haven't installed nothing else, from what I can remember. Paul Claude -- Greetings from Rome

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Klaus Major
Hi Paul, this is the latest JAVA (not JavaScript) distribution and I have already installed a newer version. It is getting VERY strange...?! :-) I'm sorry, Klaus, but I haven't installed nothing else, from what I can remember. that's why i wrote It is getting VERY strange...?! :-) Paul

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Ken Ray
On 1/11/06 6:42 AM, Klaus Major [EMAIL PROTECTED] wrote: Hi Paul, this is the latest JAVA (not JavaScript) distribution and I have already installed a newer version. It is getting VERY strange...?! :-) I'm sorry, Klaus, but I haven't installed nothing else, from what I can remember.

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Ken Ray
On 1/11/06 7:36 AM, Ken Ray [EMAIL PROTECTED] wrote: Guys, you can download the Javascript component file for OSA from here: http://www.latenightsw.com/freeware/JavaScriptOSA/index.html Oh, and if you're interested, here's a centralized do script function that accepts AppleScript,

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Klaus Major
Hi Ken, On 1/11/06 6:42 AM, Klaus Major [EMAIL PROTECTED] wrote: Hi Paul, this is the latest JAVA (not JavaScript) distribution and I have already installed ... Guys, you can download the Javascript component file for OSA from here:

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Thomas McGrath III
I get Applescript and Javascript here. 10.4.4 Tom On Jan 11, 2006, at 6:04 AM, Paul Claude wrote: Dear Klaus and Ton, When I write answer the alternateLanguages in the messagebox it gives me AppleScript and JavaScript too! Why it's different for you? I suppose that this means that I can

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Thomas McGrath III
Klaus, from the javascript site: http://www.latenightsw.com/freeware/ JavaScriptOSA/index.html JavaScript OSA is a port of the Mozilla JavaScript 1.5 scripting system Could it be that an installation of FireFox or Netscape installed the Javascript scripting system component or OSA? I do

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Klaus Major
Hi Thomas, Klaus, from the javascript site: http://www.latenightsw.com/freeware/ JavaScriptOSA/index.html JavaScript OSA is a port of the Mozilla JavaScript 1.5 scripting system Could it be that an installation of FireFox or Netscape installed the Javascript scripting system component

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Martin Baxter
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(quotePick a Boy:quotecomma into js put [quoteMannyquotecommaquote Moe after js put quote comma quote Jackquote ]) after js

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Raymond Griffith
On 1/11/06 4:54 PM, Martin Baxter [EMAIL PROTECTED] wrote: 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(quotePick a Boy:quotecomma into js put

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Ken Ray
On 1/11/06 4:26 PM, Raymond Griffith [EMAIL PROTECTED] wrote: put Core.pick(*Pick a Boy:*,[*Manny*,*Moe*,*Jack*]) into js do replacetext(js,*,quote) as javascript put the result This is a favorite trick of mine. Having to put in all those quotes and commas into a do-statement is tedious,

Re: Accessing AddressBook.data: javascript?

2006-01-11 Thread Paul Claude
That's all very interesting. But there is anyone that have an idea about how to solve the problem explained in the title of this thread? Paul Claude -- Greetings from Rome on 11-01-2006 11:00, Paul Claude at [EMAIL PROTECTED] wrote: An old problem; other languages (as RealBasic) have