[jawsscripts] Re: Left mouse button on the next item in a list

  • From: Andy Borka <andy@xxxxxxxxxxxxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Thu, 25 Dec 2008 14:02:21 -0500

Hi. To give a more clear idea of the listview, here is what happens. 
When I tab to it the first item is highlighted. When I press down arrow, 
the pc cursor moves to the next item and then gets stuck because it 
appears the only way to select an item is to left mouse button on it. I 
don't think any of the listview functions will work since it is 
impossible to get a handel to the listview window (every window in the 
entire program is called Mozilla_WindowClass). This is Thunderbird and 
lightning I am dealing with.

Martin Slack wrote:
> Ok Andy,
>
>   I understand you to say that the highlight is moving down a number of 
> times for each single press of the down arrow key.
>
>   Have you investigated the list view functions that begin with l v, such as 
> lvMoveBy LineUnit or lvSelectItem?
>
>   Martin
>
> ----- Original Message ----- 
> From: "Andy Borka" <andy@xxxxxxxxxxxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Thursday, December 25, 2008 2:58 PM
> Subject: [jawsscripts] Re: Left mouse button on the next item in a list
>
>
>   
>> Hi.
>>
>> When I take out TypeKey("down arrow") and reassign the script hotkey to
>> control +d and then run it, this is what happens:
>>
>> 1. Go to the problematic listview.
>> 2. Press home to make sure I am at the top of the list.
>> 3. Press down arrow once followed by control+d to activate the script.
>>
>> The result is that the highlight bar moves down x number of down arrow
>> presses. What I am trying to do with the script is to be able to down
>> arrow and expect that the highlight bar would move with the down arrow.
>> If this can be done with Jaws then it would be good since there is no
>> other hope for the listview. Is there a way to do this? It looks like
>> I'm close since I can do it like this so far.
>>
>>
>> Martin Slack wrote:
>>     
>>> Hi Andy,
>>>
>>>   Firstly I would say that the line:
>>>
>>> TypeKey("down arrow")
>>>
>>> in your script isn't actually doing anything.  I understand that you have 
>>> to
>>> use the exact form of words that FS has prescribed as a key name, and in
>>> this case, it doesn't include a space, and has both sub-words 
>>> capitalised.
>>> Like so:
>>>
>>> TypeKey("DownArrow")
>>>
>>>   However, the fact that the script is working must mean that it is the 
>>> down
>>> arrow key activating the script that is causing the pc cursor "highlight" 
>>> to
>>> move down.
>>>
>>>   What happens if you press the down arrow key the appropriate number of
>>> times, then use control+shift+some other key to call your script (without
>>> the final TypeKey line) ?
>>>
>>>   Martin
>>>
>>>
>>> ----- Original Message ----- 
>>> From: "Andy Borka" <andy@xxxxxxxxxxxxxxxxxxx>
>>> To: <jawsscripts@xxxxxxxxxxxxx>
>>> Sent: Thursday, December 25, 2008 8:51 AM
>>> Subject: [jawsscripts] Left mouse button on the next item in a list
>>>
>>>
>>>
>>>       
>>>> I need to left mouse button on the next item in a list because the
>>>> highlight bar doesn't move with the pc cursor in a listview. I have the
>>>> following script that works when using control windows downarrow, but I
>>>> have to press control windows down arrow each time I want to go down in
>>>> the list. Is there a way to make it do this but be able to hold down the
>>>> control windows combo and then just hit the down arrow to move in the
>>>> list?
>>>>
>>>> Script MoveDownInCalendarEventList ()
>>>> PCCursor ()
>>>> RouteJAWSToPc ()
>>>> LeftMouseButton ()
>>>> PCCursor ()
>>>> TypeKey("down arrow")
>>>> EndScript
>>>>
>>>>         
>> __________
>> 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

Other related posts: