Czaba
There is a tool called inspect that can be found by installing the windows sdk.
Much easier than writing your own app!
Bob
On 16 Jan 2020, at 16:27, Csaba Árpádházy-Godo <arpadhazi68.jawsul@xxxxxxxxx>
wrote:
Hi Snowman,
as far as I remember you mentioned here in the list in a thread about
around Xmas that you would like to update your scripts with UIA but you
have some problems. I think, this tool will help you a lot. I found it
today, and it is really very good! It is called UIA Spy and written in
AutoIt, as AutoIt sample code for UIA objects. It generates not only a
full UIA tree of the selected window or object(s) but also can generate
code snippets to the selected object. It is true, that it generates
AutoIt code, but this code can be used in JAWS scripts with only some
small changes. The generated code can be used trough the MS UIA COM dll
shipped with Windows 10. So it will be faster, than the code which uses
Freedom's UIA Walker.
To use the tool, AutoIt 3 should be installed.
There is the link:
https://www.autoitscript.com/forum/topic/196833-uiaspy-ui-automation-spy-tool/
I'm thinking of copying this tool and rewrite it in VB as a portable
.NET based app. It could help us a lot to script new modern apps,
because it generates everything what one needs to "reach" an object in
modern UI.
HTH
Czaba
__________�
View the list's information and change your settings at
//www.freelists.org/list/jawsscripts