lionqueen Posted March 5, 2008 Posted March 5, 2008 Hi, I'm just new to AutoIT. Currently I try to use AutoIT to run another simple window application which have few labels, textboxes, and one button. After entering some data on textboxes, clicking the button, a pop up will show to tell a result which is few text. Is it possible to use AutoIT to capture labels, textboxs so that we can use AutoIT help to enter data automatically, then press button ? Is it poosible to use AutoIT to capture the text result from pop up? If AutoIT can do, could you please help me a bit? If you know any other way, which dont use AutoIT, please help me too. It is very urgent for me , thank you for your viewing and your help.
covaks Posted March 5, 2008 Posted March 5, 2008 Yes and Yes. Look at ControlGetText in the helpfile. You'll want to use the AutoIT Window Info Tool that came with AutoIT to find out the ControlID.
NG13 Posted January 10, 2014 Posted January 10, 2014 (edited) How do I do it if I am not able to retrieve the controlID ?? >>>> Window <<<< Title: <some title> Class: HTML Application Host Window Class Position: 338, 65 Size: 622, 600 Style: 0x14CF0000 ExStyle: 0x00040100 Handle: 0x00000000000401DA >>>> Control <<<< Class: Internet Explorer_Server Instance: 1 ClassnameNN: Internet Explorer_Server1 Name: Advanced (Class): [CLASS:Internet Explorer_Server; INSTANCE:1] ID: Text: Position: 0, 0 Size: 606, 562 ControlClick Coords: 198, 159 Style: 0x56000000 ExStyle: 0x00000000 Handle: 0x00000000000303AA >>>> Mouse <<<< Position: 544, 254 Cursor ID: 0 Color: 0xD8D8D8 >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< >>>> Hidden Text <<<< Edited January 10, 2014 by NG13 regards [font="verdana, geneva, sans-serif;"]NG[/font]
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