[jawsscripts] Re: move to control

  • From: Udo Egner-Walter <udo.egner-walter@xxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Wed, 25 Nov 2020 16:21:42 +0100

Hi Bryan, 

MoveToControl is a function dealing with classical old window apps. In times 
before UIA almost every control had it's own handle. You stil can find these 
application today but they are more and more replaced. 

Newer technologies don't have handles for each control. Instead the controls 
were treated like objects and the handle is only for a view controls like the 
application window. Browsers like Chrome are dealing with newer technologies 
and so you can't use MoveToControl here. 

If you want to focus a control in Chrome you have to deal with other 
technologies, for example UIA. 

Hope this helps 
Udo 


Am 25.11.2020 um 05:48 schrieb Bryan Schulz (Redacted sender "b.schulz" for 
DMARC) <dmarc-noreply@xxxxxxxxxxxxx>:

Hi,


I stumbled onto move to control.

Has anyone got this to work/can you really jump to a button if you know the
handle and control id?

I attempted this today but it didn't find and click a button on a chrome web
page.;

MoveToControl (7998182, 2040730272)

LeftMouseButton ()

Bryan





__________�

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: