adapagol Posted August 28, 2008 Share Posted August 28, 2008 Hi, I am a new user of autoit.I want to know is it possible to scan a GUI and get the information about the controls in GUI for example the Textbox information, button names etc,Generally these can be found manually running 'AutoIt window info'.But I want to get it automatically using autoit script so that base on that information I can automate some GUI event.Can anybody help me please? Link to comment Share on other sites More sharing options...
Nahuel Posted August 28, 2008 Share Posted August 28, 2008 Look at these in the help file: WinDetectHiddenText (Option) WinGetClassList WinGetHandle WinGetText WinGetTitle etc... ControlGetHandle ControlGetPos ControlGetText StatusbarGetText etc... Link to comment Share on other sites More sharing options...
adapagol Posted September 7, 2008 Author Share Posted September 7, 2008 Look at these in the help file:WinDetectHiddenText (Option)WinGetClassList WinGetHandleWinGetText WinGetTitle etc...ControlGetHandle ControlGetPos ControlGetText StatusbarGetText etc...Hello, thanks for your reply. I went through all these functions.But I could not solve my problem. For example if I use WinGetClasslist it returns the class names but these are not unique information based on which I can perform some events.I want to get unique information of the all the controls for example control IDs through which I can perform event. And another problem related to WinGetText is I got all the text information from the GUI and I put them in array for future use,but I did not find any function which returns the control information based on text returned by WinGetText.For example if I give the parameter text "user1" , it will search the Gui and if it finds then click on the control retrieving its properties.Please help me ..... Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 7, 2008 Moderators Share Posted September 7, 2008 http://www.autoitscript.com/forum/index.ph...c=32781&hl= 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