[jawsscripts] Re: GUI Objects with same control ID

  • From: Jackie McBride <abletec@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Mon, 1 Mar 2010 17:20:27 -0700

Never mind--I found it.

On 3/1/10, Jackie McBride <abletec@xxxxxxxxx> wrote:
> Speaking of which, what is the home row command in jfw 11? They seem
> to have changed it & I can't seem to find what it is. Why can't they
> just leave stuff like that *alone!*?
>
> On 3/1/10, Jon Squally <jonsqually@xxxxxxxxx> wrote:
>> Hello Chris,
>>
>> Control ID it sounds like will not help you in this instance.  If you are
>> looking at objects and object manipulation it may be useful to look at
>> the
>> Windows Mobile Device Center.jss script file.  The function you are
>> asking
>> about may be getMSAARect.  Be careful if you decide that you wish to use
>> other functions such as AcvcNavigate within this script file.  These
>> functions can be time intensive, and/or problematic in certain
>> applications.
>> If you are having issues with making specific fields within your
>> application
>> read properly you might try moving to the field name   Then test for
>> subtypecode of the object of the field label.  If you find that you need
>> more flexibility than the GetObjectSubTypeCode function provides, you
>> could
>> look at the function getTypeCodeAndTypeFromMSAAItem within the above
>> script
>> file.
>>
>> Additionally, you can use f10 to cycle through the msaa information for
>> the
>> object of interest within -Script utility mode, and f9 to read it.
>>
>> I hope this helps, Jon.
>>
>> -----Original Message-----
>> From: jawsscripts-bounce@xxxxxxxxxxxxx
>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Chris Kung
>> Sent: Monday, March 01, 2010 07-39 AM
>> To: jawsscripts@xxxxxxxxxxxxx
>> Subject: [jawsscripts] GUI Objects with same control ID
>>
>> Hi Everyone
>> I work for a company that provides software to transport divisions.
>>
>> I've been trying to get my head round JAWS scripting to get our
>> application
>> to up to scratch but I've encountered some problems.
>>
>> The main issue is that we have certain objects with the same control ID,
>> thus when it comes to scripting its difficult to distinguish between the
>> two
>> objects.
>>
>> One idea was get the screen position of the object and unique identify it
>> that way but I haven't got a clue on how to do this.
>>
>> Has anyone here experienced similar problems?
>>
>> Thanks
>> -----------------------------------------------------------
>> Christopher Kung
>> Junior Technical Implementation Specialist TrapezeGroup (UK) Limited
>> www.trapezegroup.co.uk
>> -----------------------------------------------------------
>>
>> Keep the dates free - 18-20th May, 2010
>> Join us in Manchester at the Radisson SAS Hotel for the 2010 UK User
>> Conference!
>> Registration is now open - http://www.trapezegroup.co.uk/2010uc/index.php
>> Take advantage of the Early-Bird rate - available until 19th March, 2010!
>>
>> __________
>> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>>
>> View the list's information and change your settings at
>> //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
>> //www.freelists.org/list/jawsscripts
>>
>>
>
>
> --
> Change the world--1 deed at a time
> Jackie McBride
> www.abletec.serverheaven.net
> Please join me Saturday, 11/7, on my walk against breast cancer by
> making a donation at:
> http://main.acsevents.org/goto/larkspur>
>


-- 
Change the world--1 deed at a time
Jackie McBride
www.abletec.serverheaven.net
Please join me Saturday, 11/7, on my walk against breast cancer by
making a donation at:
http://main.acsevents.org/goto/larkspur>
__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: