fong1sky Posted May 8, 2006 Share Posted May 8, 2006 Hello all, Is it possible to get the character or word that mouse pointer is on it? Just like there is a MsgBox say "Are you sure you want to save this file?" If the mouse cursor is pointing to "sure", then Autoit return it. Thank you Link to comment Share on other sites More sharing options...
Don N Posted May 8, 2006 Share Posted May 8, 2006 Go to Start->Programs->Auto It -> AutoIt Window Info This tool will get u the information for the button you want and will get the text of the button. You can use the control ID to click the necessary button using ControlClick(). ControlClick is described in the helpfile. Hope this helps... _____________________________________________________"some people live for the rules, I live for exceptions"Wallpaper Changer - Easily Change Your Windows Wallpaper Link to comment Share on other sites More sharing options...
fong1sky Posted May 8, 2006 Author Share Posted May 8, 2006 Go to Start->Programs->Auto It -> AutoIt Window InfoThis tool will get u the information for the button you want and will get the text of the button. You can use the control ID to click the necessary button using ControlClick(). ControlClick is described in the helpfile.Hope this helps...Thank you for your reply. I know I can get some text using this. But it is not what I want. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 8, 2006 Moderators Share Posted May 8, 2006 Thank you for your reply. I know I can get some text using this. But it is not what I want.Maybe you should explain what game/program you are using it in, is it a control, is it a graphic, does autoinfo tool pick it up, what you have tried and failed with... You know, information to help you get what it is you would like to do? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
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