[jawsscripts] Re: Direct speech via JAWS COM API

  • From: "Bryan Garaventa" <bgaraventa11@xxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 4 Mar 2009 08:56:55 -0800

Hey Doug, where did you locate this?
Thanks,
Bryan
----- Original Message ----- 
From: "Doug Lee" <doug.lee@xxxxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Wednesday, March 04, 2009 8:31 AM
Subject: [jawsscripts] Re: Direct speech via JAWS COM API


> VBScript:
> dim o : set o = createObject("FreedomSci.JawsApi")
> o.sayString "Hello", False
>
> Summary of FSAPI.dll COM interface (JAWS 10 as reference):
>    function Disable as Bool
>    function Enable(Bool vbNoDDIHooks) as Bool
>        method Enable
>    function RunFunction(BStr FunctionName) as Bool
>        Tells JAWS to execute a function
>    function RunScript(BStr ScriptName) as Bool
>        Tells JAWS to execute a script
>    function SayString(BStr StringToSpeak[, Bool bFlush = True]) as Bool
>        Instructs JAWS to speak a particular string
>    sub StopSpeech
>
> On Wed, Mar 04, 2009 at 11:11:51AM -0500, Jamal Mazrui wrote:
> A while back I asked how to do this but got no reply.  Doug Lee informed
> me on this list that there is a COM API that is part of a JAWS
> installation.  Previously, I had only known of a way for an application to
> produce a speech message through JAWS by using a Win32 type of call to
> JFWAPI.dll.
>
> Although I did find references to a COM object model using a COM browser,
> I could not figure out how to instantiate and use such an object.  Can
> anyone tell me how an application, other than JAWS, can call a COM method,
> passing it a string, to produce a speech message through the currently
> running JAWS?
>
> This has become more important because JFWAPI.dll does not seem to
> work under 64 bit Windows.
>
> Jamal
>
> __________?
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
> -- 
> Doug Lee, Senior Accessibility Programmer
> SSB BART Group - Accessibility-on-Demand
> mailto:doug.lee@xxxxxxxxxxxxxxxx  http://www.ssbbartgroup.com
> "While they were saying among themselves it cannot be done,
> it was done." --Helen Keller
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
> 

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: