[jawsscripts] Re: Quickbooks & Vista

  • From: "David Farough" <David.Farough@xxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Fri, 30 May 2008 11:07:09 -0400

Hi Dennis:

First I will try to answer your questions, but I have one of my own.

The entries you provide from the script source and the .jkm file and
the confignames.ini file are surrounded by Asterisks (*).  Can I assume
that this is not the case in the files themselves?  If these asterisks
appear in these files, this would be part of the problem.

first question and assumption:

My assumption at this point is the QBW32 script and keyboard file loads
each
time the Quickbooks program executes and unloads when Quickbooks is
closed.
If I close Quickbooks, compile a new script, and then execute
Quickbooks, my
understanding is the Keyboard Script and the Code Files should then
execute.  Is this correct?

Answer
Yes, under normal circumstances, when you run Quickbooks, Jaws should
run any scripts that have been compiled using the application name.jsb
file.  To verify that you have named the script source correctly, you
can use the JawsKey+q keystroke to hear the name of the executable or
.dll that Jaws is seeing when your application has focus.  If you want
to use a name which is more descriptive than the name that you hear when
you press these keys, then you will need to create an entry in the
confignames.ini file so that Jaws will be able to find the appropriate
scripts to run when your application has focus.  Creating this entry is
not necessary if you are going to name your scripts according to the
executable that is being used when your application is running.


Assuming that you have named the scripts appropriately the next thing I
would check is the application's entry in the Manage applications option
which you will find in the Jaws options menu of the Jaws window.  This
has caused me similar problems in the past.  Look to make sure that the
qbw32 entry is checked in the list of applications that Jaws sees
configurations for in your user settings directory.  If this entry is
not checked, Jaws will not use the configuration that you have defined
in your user settings directory.

Your observations are interesting with regard to the differences
between what Jaws sees in vista verses XP for this application.  I am
sure given the amount of detail that you have provided us that you
should be able to work with this application to make it work better with
Jaws.  Good luck with it. =20

HTH

David Farough
Application Accessibility Coordinator/coordonateur de l'accessibilit=E9=20
Information Technology Services Directorate /
Direction des services d'information technologiques
Public Service Commission / Commission de la fonction publique
Email / Courriel:  David.Farough@xxxxxxxxxxxxx
Tel. / T=E9l:    (613) 992-2779=20

>>> "Dtulmar Hallard" <dtulmar.hallard@xxxxxxxxx> 07:09 PM Thursday,
May 29, 2008 >>>
Hi All,
I'm new to the list but have been programming for most of 20 years.=20
I'm
trying to work with Jaws Scripting Language and Quickbooks in Vista
Ultimate.  I've been utilizing the INS + Shift to view the contents of
the
windows but I'm having a problem getting Jaws to recognize keyboard
commands.  It's important to note here that in Vista, there is a
significant
amount of information that is being allowed to be displayed that
Windows XP
is NOT displaying.  For example, in Windows XP, the WindowName is blank
and
in Vista, it has information.


I am having difficulties with getting anything to execute with
Quickbooks.
To date, I am unable to get a keystroke to even execute off.=20
Anyinsight
into any Quickbooks scripts that you may have  or have acquired.  My
assumption at this point is the QBW32 script and keyboard file loads
each
time the Quickbooks program executes and unloads when Quickbooks is
closed.
If I close Quickbooks, compile a new script, and then execute
Quickbooks, my
understanding is the Keyboard Script and the Code Files should then
execute.  Is this correct?



I  Am utilizing  Windows Vista with Quickbooks Premier Accountant
Edition
2007.  The utilization of the Insert-Spacebar function provides some
definite window information that I believe can now be used with JAWS IF
I
can get the keystroke function to actually execute or if I can find out
why
events are not executed.  Please see the Insert-Spacebar information
for the
Check Writing window (Control W function from QB):



Home Row Capture 1:

Note Capture



Handle =3D 395318 =3D {60836}

Class =3D Edit

Type =3D Edit

TypeCode =3D 3

SubtypeCode =3D 3

ControlID =3D 59521664

StyleBits =3D 0x50000080

WindowName =3D Bank Account

Parent =3D 264414 =3D {408de}

FirstChild =3D 0 =3D {0}

Prior =3D 198806 =3D {30896}

Next =3D 0 =3D {0}

WindowHierarchyX =3D 4

WindowHierarchyY =3D 4

WindowRect =3D (518,250)-(671,264)

controlAttributes =3D 16

HasTitle =3D 0

WindowDisabled =3D 0

WindowObscured =3D 0

WindowVisible =3D 1

----------------------------------------

Highlighted text:

BANKS:Wachovia - Sue

----------------------------------------

All Text Restricted:

BANKS:Wachovia - Sue

----------------------------------------

All Text Inclusive:

BANKS:Wachovia - Sue

****************************************





Home Row Capture 2:

Tree Capture



FocusWindow =3D 133208 =3D {20858}

RealWindow =3D 133178 =3D {2083a}

AppMainWindow =3D 525976 =3D {80698}

TopLevelWindow =3D 525976 =3D {80698}

ForeGroundWindow =3D 525976 =3D {80698}



Window #0:

Handle =3D 133208 =3D {20858}

Class =3D Edit

Type =3D Edit

TypeCode =3D 3

SubtypeCode =3D 3

ControlID =3D 100780440

StyleBits =3D 0x50000080

WindowName =3D 05/21/2008

Parent =3D 133178 =3D {2083a}

FirstChild =3D 0 =3D {0}

Prior =3D 133212 =3D {2085c}

Next =3D 0 =3D {0}

WindowHierarchyX =3D 4

WindowHierarchyY =3D 4

WindowRect =3D (122,659)-(182,671)

controlAttributes =3D 0

HasTitle =3D 0

WindowDisabled =3D 0

WindowObscured =3D 0

WindowVisible =3D 1

----------------------------------------

Highlighted text:

05/29/2008

----------------------------------------

All Text Restricted:

05/29/2008

----------------------------------------

All Text Inclusive:

05/29/2008

****************************************









QBW32.jkm File

*[Common Keys]*

*Alt+Control+Shift+F8=3DGetWinInfo*

* *

*QBW32.jss File*

*;Quickbooks Script Accountant Edition 2007*

**
* *

*Script GetWinInfo()*

*MessageBox("Get Win Info Event Fired")*

*EndScript*

* *

* *

*ConfigNames.ini File*

*[ConfigNames]*

*; exeName:version=3DconfigurationName*

*; - exeName is the file's name without the extension.*

*; - version is the file's major and minor version or just the major
version,*

*;     without preceding zeros.  The version is optional and can be
left out
if*

*;     the alias is not version-specific.*

*; - configurationName is the name of the configuration set which will
be
loaded.*

* *

*QBW32=3DQBW32*

* *

*Our Jaws Serial Number is: 8376*

* *

* *

Thank you,



*Dennis *


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


100 Years Merits a Celebration! =20
http://www.psc-cfp.gc.ca/100/index-eng.htm=20
100 ans, =E7a m=E9rite une c=E9l=E9bration!   =20
http://www.psc-cfp.gc.ca/100/index-fra.htm=20

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

Other related posts: