Finding ClassNN of button under mouse position

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
ThomasPaine
Posts: 25
Joined: 24 Jun 2017, 22:17

Finding ClassNN of button under mouse position

20 Feb 2018, 02:05

tooltip, move mouse to button location and press F4
WinWait, F4, D
get classNN here after user moved mouse over it




Then use ClassNN to do other stuff in the script. This would be useful for me because I noticed that ClassNN is different for the same button on two different PC's. Thanks.
User avatar
divanebaba
Posts: 805
Joined: 20 Dec 2016, 03:53
Location: Diaspora

Re: Finding ClassNN of button under mouse position

27 Feb 2018, 00:15

To find the ClassNN, you can use "Window Spy".
Two different ClassNN names you can handle with an if-expression.
There are surely differences between your two computers, like different username, different OS-Type or (guaranteed) the serial numbers of the harddrives.
Use DriveGet, myOutPutVariable, Serial, C: for example to find differences between your computers.
Einfach nur ein toller Typ. :mrgreen:

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot] and 243 guests