[jawsscripts] Re: Control key held down while clicking?

  • From: Jonathan Cohn <jon.c.cohn@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Sun, 22 May 2016 14:16:05 -0400

Well, if GetObjectValue or GetObjectName return the list item withfocus and the 
equivalent GetType (perhaps GetObjectSubTypeCode)  function returns WT_ListItem 
then you should be able to use MSAA to select items.

I would have to look at the Selectionmethods of MSAA  inMSDN or my code to be 
more specific, but there are commands to add a specific child to the selection, 
or add a continuous block of child items to the selection. 
Best wishes,

Jonathan Cohn



On 21 May 2016, at 12:18, Steve S <stevespamer68@xxxxxxxxx> wrote:

Thanks Jonathan. I'm not familiar with MSAA, so can't really say if it will 
respond to that.  This is a view of tracks in a DAW, that require you to 
control click the tracks you want to select.  Now as we need to hold the 
control key down and click, then move to another track with up/down arrow to 
click again, I'm not sure if this is possible without confusing matters.

It's like I want normal navigation with the arrow keys whilst the control 
key is down...and that's what I'm trying to find out if it is possible. THX 
Steve.

-----Original Message----- 
From: Jonathan C. Cohn
Sent: Saturday, May 21, 2016 4:55 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Control key held down while clicking?

F this list responds to MSAA, then your best using the accSelect methods of 
MSAA. You should be be able to use ControlClick or TypeKey otherwise.  We 
can give you more details once you determine this.

Best wishes,

Jonathan Cohn

On May 21, 2016, at 8:58 AM, Steve S <stevespamer68@xxxxxxxxx> wrote:

hi folks. Before I put my mind to it, could anyone let me know if it's 
possible to script up the following scenario?
I want to up/down arrow  a window while the control key is held down. 
This is to select (click)  an item, then navigate to another item to 
click, as this is making non contiguous selections.
I know we can do this with the control spacebar in a list, but would it be 
useable in a scripting situation.
Many thanks Steve.
__________�

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

__________�

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

__________�

View the list's information and change your settings at 
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: