[jawsscripts] Re: sending a left click to a window

  • From: "Bryan Garaventa" <bgaraventa11@xxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Tue, 29 Jan 2008 12:41:11 -0800

Why not just use the SendMessage function to send the click to the window itself?


Such as

SendMessage(handle, 245, 0, 0)

I think 245 should work...


----- Original Message ----- From: "john.falter" <john.falter@xxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, January 29, 2008 12:26 PM
Subject: [jawsscripts] Re: sending a left click to a window


If you have the window handle, why not try:
MoveToWindow ()

then

LeftMouseButton ()



----- Original Message ----- From: "Dennis Brown" <DennisTBrown@xxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, January 29, 2008 12:00 PM
Subject: [jawsscripts] Re: sending a left click to a window


If the item you want to make the left click on is an object, then use
ClickObjectByName ([window handle], [object name in quotes], 1)

Move to the item with the Jaws cursor and activate the HomeRow and see if
the MSAA info is there with F9 and F10.
Thanks,
Dennis Brown
----- Original Message ----- From: "John Greer" <jpgreer17@xxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, January 29, 2008 11:53 AM
Subject: [jawsscripts] Re: sending a left click to a window


> Well if the focus you have is with the PC Cursor you can just do the
> following
> RouteJawsToPC ()
> LeftMouseButton ()
>
> ----- Original Message ----- > From: "Marlon Brandão de Sousa" <splyt.lists@xxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Tuesday, January 29, 2008 10:33 AM
> Subject: [jawsscripts] sending a left click to a window
>
>
>> Hello,
>> I am trying to script ad-aware 2007 and I found the interface prety
>> strange. I need to do some tests and I would like to know if there's a
>> easy way of sending a left click to a window I have the handle for in
>> the jaws scripting language, plus if there's a way of sending a left
>> click to it in homerow or using bx or jfwtechnical or the snowman
>> script utilities.
>> Thanks
>> Marlon
>>
>> -- >> When you say "I wrote a program that crashed Windows," people just
>> stare at you blankly and say "Hey, I got those with the system, for
>> free."
>> Linus Torvalds
>> __________
>> View the list's information and change your settings at
>> //www.freelists.org/list/jawsscripts
>>
>>
>
> __________ View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
>

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




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


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

Other related posts: