Nimrod667 Posted September 28, 2007 Posted September 28, 2007 Hello, I want to write a small script that constantly checks which controls are clicked in another window. e.g. when installing a program I want to know which buttons have been pressed during that installation. Is there some way to do this? Haven't found any yet... The AutoIt Window Info for example is able to get the id of the control you clicked...is that possible with autoIt? /Nimrod
Moderators big_daddy Posted September 28, 2007 Moderators Posted September 28, 2007 Search for AutoItMacroGenerator. It's also included in the full install of SciTE4AutoIt.
Nimrod667 Posted October 2, 2007 Author Posted October 2, 2007 Search for AutoItMacroGenerator. It's also included in the full install of SciTE4AutoIt.If i got it right, AutoItMacroGenerator captures inputs by keyboard and by mouse, but i need to know the ID's of the clicked controls...
lordofthestrings Posted October 2, 2007 Posted October 2, 2007 Window info tool? This tool is also included in scite and will tell you all you want to know about every control under the mouse.. hope this is what you're looking for.. kind regards
Moderators big_daddy Posted October 2, 2007 Moderators Posted October 2, 2007 If i got it right, AutoItMacroGenerator captures inputs by keyboard and by mouse, but i need to know the ID's of the clicked controls...Obviously you didn't try my suggestion, because you would have noticed it records clicked controls by ClassnameNN.
JBeef Posted October 2, 2007 Posted October 2, 2007 this sees click of "Cancel" button for "Run" dialog.http://www.autoitscript.com/forum/index.ph...st&p=406360hook func gives HWND. you get Get GetDlgCtrlId() or Win API. - crazy - ~Jap
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now