RE: scripting using the MS Office script and Word's IDE

2010-03-19 Thread Gary Metzler
Hi Chip, I would be interested in learning about scripting. Put my name on the list. -Original Message- From: Chip Orange [mailto:lists3...@comcast.net] On Behalf Of Allison and Chip Orange Sent: Friday, March 19, 2010 8:42 PM To: gw-scripting@gwmicro.com Subject: scripting using the MS

scripting using the MS Office script and Word's IDE

2010-03-19 Thread Allison and Chip Orange
Hi all, I've had some interest in learning how to make use of the MS Office script, and the Word VBA integrated development environment, in order to write VBScript scripts for window eyes. the interested people expressed a desire to understand it better, and to learn how it makes scripting much ea

Announcing Invoke .NET package

2010-03-19 Thread Jamal Mazrui
HomerBoo is a shared Object that provides Window-Eyes scripts with access to the .NET Framework 2.0. It is based on the Boo language, explained at the web site http://boo.codehaus.org Instantiate HomerBoo in VBScript as follows: Set oHomerBoo = SharedObjects("org.NonvisualDevelopment.HomerBoo")

Re: afew questions about external scripts?

2010-03-19 Thread martin webster
Hi Doug, I indeed wanted to know the things I need to do to be able to run a script that is not hosted by window-eyes, but in a language simpler than C++, so I picked on VBScript unhosted by window-eyes so as I can better understand how to script in this way. I am currently playing around with

Re: Foreign Language Support in Scripts

2010-03-19 Thread Kevin Huber
Hi Donald: No, there shouldn't be any concern. Some scripts have foreign language capability sothat others who speak that language can use them successfully. The code isn't effected, the only thing that is changed is that there are more strings in the XML file, reflecting the foreign languages wh

Re: afew questions about external scripts?

2010-03-19 Thread Doug Geoffray
Martin, Maybe I need to back up. If you just create a VBScript and associate it to Window-Eyes and let Window-Eye launch it then you don't need to deal with all the hassles you've been asking for help on. When Window-Eyes launches an embedded active script, such as VBScript and others, then

Re: afew questions about external scripts?

2010-03-19 Thread martin webster
Hi all, Thanks to everybody who replied. Doug can you explain the GetRef part of the hotkey declaration?. set hk = wo.Keyboard.RegisterHotkey("control-shift-c", GetRef("SpeakIt")) About the process ID I thought that I needed this parameter to identify the outside script to window-eyes and so that

Re: afew questions about external scripts?

2010-03-19 Thread Doug Geoffray
Hello Jeff, Ah, given that your original comments make more sense (smile). Since in Martin's original example he had: set WE = createObject ("windoweyes.application") I just assumed he was planning on using Window-Eyes' application object but not have Window-Eyes launch his script. Well, w

RE: afew questions about external scripts?

2010-03-19 Thread Jeff Weiss
Thanks for that example Doug. That's good to know. In the example that I posted, I was thinking that he wanted a script which would not depend on Window-Eyes at all. That's what I had to do when some sighted friends wanted my Daily Blessings script. I had to change the script so that it would work

Re: afew questions about external scripts?

2010-03-19 Thread Ron Parker
On 3/19/2010 10:30 AM, Doug Geoffray wrote: as for you wanting a process ID, you can not do this from VBScript but I'm wondering why you think you would need this if Window-Eyes itself is not launching your VBScript. You only need this if Window-Eyes launches your script as an external scrip

Re: afew questions about external scripts?

2010-03-19 Thread Doug Geoffray
Jeff, As per my example I just posted you can create a hotkey with a stand alone VBScript. Let me know if you have questions after looking at it. Regards, Doug Jeff Weiss wrote: With a stand alone VB script, you can't create a hotkey in the same way as with a Window-Eyes hosted script. You

Re: afew questions about external scripts?

2010-03-19 Thread Doug Geoffray
Martin, Here is a simple example of a VBScript that runs externally from Window-Eyes (runs with Windows scripting host) yet still registers a hotkey. It simply registers control-shift-c and when pressed it speaks "hello world" and then the script exists. allDone = False Set wo = CreateObje

Window-Eyes External Stand-alone Application Example

2010-03-19 Thread Doug Geoffray
We have been asked many times of how to get a WindowEyes.Application object from a stand alone C++ application. This is very similar to our existing external C++ script examples. However, being a stand alone application you don't have to bother registering back to Window-Eyes, etc. as an exte

RE: afew questions about external scripts?

2010-03-19 Thread Jeff Weiss
With a stand alone VB script, you can't create a hotkey in the same way as with a Window-Eyes hosted script. You can however, create a separate setup script with the same name as your script with "setup" at the end. This is a portion of the setup script when I did a generic version of my DailyBless

afew questions about external scripts?

2010-03-19 Thread martin webster
Hi all, How do I create a hotkey in this stand alone version of the helloWorld script included below, I just want this script to run in the WSH environment and I can't seem to create the hotkey (Shift-Control-C)?. Second How do I get the script's process ID on the fly?. Begin VBScript: Dim myKe

RE: Foreign Language Support in Scripts

2010-03-19 Thread Donald E. Bowen, Jr.
Thanks! Sincerely, Donald E. Bowen, Jr. Music for Sight SKYPE ID: musicforsight _ From: Jeff Bishop [mailto:j...@jeffbishop.com] Sent: Thursday, March 18, 2010 10:53 PM To: gw-scripting@

RE: how to determine whether speech has actually been muted

2010-03-19 Thread Chip Orange
Sean, I forgot to answer part of your question. while silence does stop the speech immediately, something else may cause it to start speech again right away. there are events in the speech object which fire when speech happens. If you need to know if speech has happened since you issued your si

RE: how to determine whether speech has actually been muted

2010-03-19 Thread Chip Orange
Hi Sean, Silence stops the speech immediately. hth, Chip _ From: sean farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Friday, March 19, 2010 5:02 AM To: gw-scripting@gwmicro.com Subject: how to determine whether speech has actually been muted Importance: High Hi: When codi

how to determine whether speech has actually been muted

2010-03-19 Thread sean farrow
Hi: When coding with the scripting interface, I'm now calling speech.silence, what I need however is to know when speech has stopped, is there a way of doing this. Also, could the Silence method of the GWSpeak object be changed to return true/false depending on whether speech has stopped? Any hel