[jawsscripts] Re: Quickbooks & Vista

  • From: "Travis Roth" <travis@xxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sat, 31 May 2008 15:15:29 -0500

The classic way is to simulate an array using a string and some string
manipulation functions such as StringSegment.

Doug Lee's BX toolbox set of scripts has some very useful list and array
libraries that you may find of help.
It even has the ability to make a list of hashes, impressive.


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Dtulmar Hallard
Sent: Saturday, May 31, 2008 2:59 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Quickbooks & Vista

Hi David,
Thank you again for your response.  It has for certain opened up several
errors that I was perceiving and have now corrected.  Ys, the asterisks =
seem
to have been added either by the lists, or my email program.

Is there any way to store an array or a set of information for retrieval
while running an application?  Quickbooks has this little habit of =
renaming
and renumbering controls when each windows loads.  I understand this is
necessary as it gives the ability for a multiple document capability.  I
need to be able to loop through the controls in a systematic way, store =
the
info in an array or some sort of virtual list that I can query against.

Any ideas?

Thanks for all the help. Finally getting somewhere with this =
application!

On Fri, May 30, 2008 at 11:07 AM, David Farough
<David.Farough@xxxxxxxxxxxxx>
wrote:

> 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. =3D20
>
> HTH
>
> David Farough
> Application Accessibility Coordinator/coordonateur de =
l'accessibilit=3DE9=3D20
> 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=3DE9l:    (613) 992-2779=3D20
>
> >>> "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.=3D20
> 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.=3D20
> 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 =3D3D 395318 =3D3D {60836}
>
> Class =3D3D Edit
>
> Type =3D3D Edit
>
> TypeCode =3D3D 3
>
> SubtypeCode =3D3D 3
>
> ControlID =3D3D 59521664
>
> StyleBits =3D3D 0x50000080
>
> WindowName =3D3D Bank Account
>
> Parent =3D3D 264414 =3D3D {408de}
>
> FirstChild =3D3D 0 =3D3D {0}
>
> Prior =3D3D 198806 =3D3D {30896}
>
> Next =3D3D 0 =3D3D {0}
>
> WindowHierarchyX =3D3D 4
>
> WindowHierarchyY =3D3D 4
>
> WindowRect =3D3D (518,250)-(671,264)
>
> controlAttributes =3D3D 16
>
> HasTitle =3D3D 0
>
> WindowDisabled =3D3D 0
>
> WindowObscured =3D3D 0
>
> WindowVisible =3D3D 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 =3D3D 133208 =3D3D {20858}
>
> RealWindow =3D3D 133178 =3D3D {2083a}
>
> AppMainWindow =3D3D 525976 =3D3D {80698}
>
> TopLevelWindow =3D3D 525976 =3D3D {80698}
>
> ForeGroundWindow =3D3D 525976 =3D3D {80698}
>
>
>
> Window #0:
>
> Handle =3D3D 133208 =3D3D {20858}
>
> Class =3D3D Edit
>
> Type =3D3D Edit
>
> TypeCode =3D3D 3
>
> SubtypeCode =3D3D 3
>
> ControlID =3D3D 100780440
>
> StyleBits =3D3D 0x50000080
>
> WindowName =3D3D 05/21/2008
>
> Parent =3D3D 133178 =3D3D {2083a}
>
> FirstChild =3D3D 0 =3D3D {0}
>
> Prior =3D3D 133212 =3D3D {2085c}
>
> Next =3D3D 0 =3D3D {0}
>
> WindowHierarchyX =3D3D 4
>
> WindowHierarchyY =3D3D 4
>
> WindowRect =3D3D (122,659)-(182,671)
>
> controlAttributes =3D3D 0
>
> HasTitle =3D3D 0
>
> WindowDisabled =3D3D 0
>
> WindowObscured =3D3D 0
>
> WindowVisible =3D3D 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=3D3DGetWinInfo*
>
> * *
>
> *QBW32.jss File*
>
> *;Quickbooks Script Accountant Edition 2007*
>
> **
> * *
>
> *Script GetWinInfo()*
>
> *MessageBox("Get Win Info Event Fired")*
>
> *EndScript*
>
> * *
>
> * *
>
> *ConfigNames.ini File*
>
> *[ConfigNames]*
>
> *; exeName:version=3D3DconfigurationName*
>
> *; - 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=3D3DQBW32*
>
> * *
>
> *Our Jaws Serial Number is: 8376*
>
> * *
>
> * *
>
> Thank you,
>
>
>
> *Dennis *
>
>
> __________=3D20
> View the list's information and change your settings at=3D20
> http://www.freelists.org/list/jawsscripts=3D20
>
>
> 100 Years Merits a Celebration! =3D20
> http://www.psc-cfp.gc.ca/100/index-eng.htm=3D20
> 100 ans, =3DE7a m=3DE9rite une c=3DE9l=3DE9bration!   =3D20
> http://www.psc-cfp.gc.ca/100/index-fra.htm=3D20
>
> __________
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
>


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


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

Other related posts: