[jawsscripts] Re: Direct speech via JAWS COM API

  • From: Jackie McBride <abletec@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Fri, 6 Mar 2009 23:16:26 -0700

O, no, it *definitely* wouldn't support 64 bit OS's. I'm not even
certain it would have the same object model as later versions of jaws,
for that matter.

On 3/6/09, Victor Tsaran <vtsaran@xxxxxxxxx> wrote:
> Jackie,
> You are correct. There is a separate package called JFWApi but I think
> it was written long time ago and does not support 64-bit operating systems.
> V
>
> On 3/6/2009 8:25 PM, Jackie McBride wrote:
>> O, gosh, I'm *so gonna show my stupidity here,&  that is *not good!
>> However, was there not some software that came out awhile back called
>> somethin like jaws sdk.zip? My recollection was that folks were using
>> python to call dll functions w/it&  getting jaws to speak when it
>> otherwise wouldn't. Does any1 know what I'm referring to? Of course I
>> don't know what jaws versions it's compatible with. I actually think I
>> might still have it around.
>>
>> On 3/6/09, Victor Tsaran<vtsaran@xxxxxxxxx>  wrote:
>>> Does anybody know what is the earliest JAWS version that this built-in
>>> API was shipped with? If it is not backward-compatible, I don't think I
>>> can use it since not everyone is on JAWS9 or 10.
>>> Thx,
>>> Victor
>>>
>>> On 3/6/2009 10:46 AM, Jamal Mazrui wrote:
>>>> Reporting back, I found that I was using an older jfwapi.dll on the
>>>> 64-bit computer, one my application had installed in its program folder
>>>> on the user's computer.  I modified the application (EdSharp or FileDir)
>>>> to use the jfwapi.dll in the JAWS program folder instead, and that
>>>> worked.  Strangely, the COM technique of producing speech worked on
>>>> 32-bit machines but not on the 64-bit one of the user (I do not have my
>>>> own to test with yet).
>>>>
>>>> So, both EdSharp and FileDir now produce direct speech on 64-bit
>>>> computers using the jfwapi.dll that ships with that version of JAWS.
>>>>
>>>> Jamal
>>>>
>>>>
>>>> On Wed, 4 Mar 2009, Jamal Mazrui wrote:
>>>>
>>>>> Date: Wed, 4 Mar 2009 16:58:27 -0500 (EST)
>>>>> From: Jamal Mazrui<empower@xxxxxxxxx>
>>>>> Reply-To: jawsscripts@xxxxxxxxxxxxx
>>>>> To: jawsscripts@xxxxxxxxxxxxx
>>>>> Subject: [jawsscripts] Re: Direct speech via JAWS COM API
>>>>>
>>>>> Thanks, Doug!  By the way, I did searches of all JFW documentation,
>>>>> including fsdn.chm, and found no references to this object model.
>>>>>
>>>>> If anyone has a 64-bit computer, I'm interested in feedback on
>>>>> compatibility of EdSharp
>>>>> http://EmpowermentZone.com/edsetup.exe
>>>>>
>>>>> FileDir
>>>>> http://EmpowermentZone.com/dirsetup.exe
>>>>>
>>>>> and/or JAWS Script Exchange
>>>>> http://EmpowermentZone.com/jsxsetup.exe
>>>>>
>>>>> I do not have access to such a computer myself at present.  A user
>>>>> reported crashes in Edsharp and FileDir, which I narrowed to use of
>>>>> jfwapi.dll for direct speech messages.  In the March 4 versions of
>>>>> EdSharp and FileDir that I posted today, the COM object model is used
>>>>> instead.  I'm curious whether that resolves the problem.  A test, for
>>>>> example, is to press Alt+P in EdSharp, which should speak the full path
>>>>> of the current document (more than the file name in the title bar).
>>>>>
>>>>> These applications have a checkbox at the end of their installation
>>>>> processes which offer JAWS scripts to fine tune speech in ways that I
>>>>> could not do otherwise.  The checkbox is off by default, since other
>>>>> screen readers may not want them.  I'm curious, if the checkbox is
>>>>> marked,
>>>>> whether the scripts are successfully installed on a 64-bit computer, or
>>>>> whether an error message results.  A bundled copy of jsx.exe is used
>>>>> for
>>>>> this.  You can test whether EdSharp or FileDir scripts are loaded by
>>>>> pressing JAWSKey+Q (the standard key for this) when EdSharp or FileDir
>>>>> is
>>>>> active.
>>>>>
>>>>> Jamal
>>>>>
>>>>>> Date: Wed,
>>>>> 4 Mar 2009 11:31:00 -0500>   From: Doug Lee<doug.lee@xxxxxxxxxxxxxxxx>
>>>>>> Reply-To: jawsscripts@xxxxxxxxxxxxx
>>>>>> To: jawsscripts@xxxxxxxxxxxxx
>>>>>> 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
>>>>>
>>>> __________
>>>> 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
>>>>
>>>>
>>>
>>> --
>>> --- --- --- ---
>>> Get a sneak preview of my album at:
>>> www.victortsaran.com
>>> --- --- --- ---
>>> __________
>>> 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
>>>
>>>
>>
>>
>
>
> --
> --- --- --- ---
> Get a sneak preview of my album at:
> www.victortsaran.com
> --- --- --- ---
> __________
> 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
>
>


-- 
Change the world--1 deed at a time
Jackie McBride
Check out my homepage at:
www.abletec.serverheaven.net
& please join my fight against breast cancer
<http://teamacs.acsevents.org/site/TR?px=1790196&pg=personal&fr_id=3489>
__________ 
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: