I'm pretty curious about this issue. I usually use the WinMove to locate the window to a specific place and then use MouseClick. However, the process is very redundant, especially when I need to click several buttons without ClassNN--cannot use ControlClick. So is there any more advanced way to solve this issue? Thank you very much.
Ps: I've seen some old posts, but they used some wizard specifically for some software to overpass the problem. If it helps, the software I'm having the problem on is ImageJ, but I still want to know if there is a general solution to it.
How to click a button that has no ClassNN
Re: How to click a button that has no ClassNN
- So usually a button control has its own ClassNN.
- Otherwise the button may be part of a control. If when you hover over the button with AutoHotkey's window spy, it is part of larger control that has a ClassNN, and if the button is always in the same place relative to the larger control that it's a part of, you could use ControlClick and specify coordinates.
- Otherwise one possibly is to use Acc:
Acc library (MSAA) and AccViewer download links - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=6&t=26201
- Otherwise the button may be part of a control. If when you hover over the button with AutoHotkey's window spy, it is part of larger control that has a ClassNN, and if the button is always in the same place relative to the larger control that it's a part of, you could use ControlClick and specify coordinates.
- Otherwise one possibly is to use Acc:
Acc library (MSAA) and AccViewer download links - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=6&t=26201
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Who is online
Users browsing this forum: Bing [Bot], haomingchen1998, vposud and 351 guests