Posts

Showing posts from August, 2023

ControlGetHandle ($hWnd, "", "[REGEXPCLASS:<>; INSTANCE:<>]")

Image
  RegExpQuickTester 2.5p   will help  put all the ClassNameNN keys here old and new here you can put your filter (Search pattern) an, in live time, test the pattern, and see which cases it catches, and readjust it here it shows which cases it catches here I have put '3 - Retum array of global matches'  here you can use it as a storage space (for copying and pasting)   Until now we use CLASSNN which is CLASS & INSTANCE ControlClick( $hWnd, "", "WindowsForms10.Window.8.app.0.1a52015_r22_ad11" ) WindowsForms10.Window.8.app.0.1a52015_r22_ad11 = WindowsForms10.Window.8.app.0.1a52015_r22_ad1 & 1 now we will go to logic ControlClick( $hWnd, "", "[ REGEXPCLASS:<>; INSTANCE:<> ]" ) where REGEXPCLASS:<> we put the * 2 Search pattern where INSTANCE :<> we put the instance e.g. 1 ControlClick( $hWnd, "", "[ REGEXPCLASS:WindowsForms10\.Window\.8\.app\.0\..*._r.*._ad1 ; INSTANCE:1 ]" )   [ REGEXPCLASS...

_WinAPI_DPI.au3 test

Image
  I have  Windows 10 Pro Version:22H2 I have two screens DISPLAY1 Dim:1920, 1080  Scale:100%  is p rimary DISPLAY2 Dim:3840, 2160  Scale:200%      _WinAPI_DPI.au3 test1 https://www.autoitscript.com/forum/topic/210604-tester-needed/#comment-1522028  ;----------------------------------------------------------------------------------------------------------------------- when i run it it comes to the p rimary screen  DISPLAY1  Rectangle:0, 0, 1920, 1080  Scale:100%          ;----------------------------------------------------------------------------------------------------------------------- when I drag it to the right on monitor 2 DISPLAY2 Rectangle:1920, 0, 5760, 2160  Scale:200% console say - DPI change triggered! DPI: 192       ;----------------------------------------------------------------------------------------------------------------------- when I drag it to ba...