ileandros Posted April 10, 2012 Share Posted April 10, 2012 I have got the controlID of a IE button and when i click on it, it opens me a FileOpenDialog to chose a file. Is there a way to get the controlID of the FileOpenDialog after the IE button??? I feel nothing.It feels great. Link to comment Share on other sites More sharing options...
somdcomputerguy Posted April 10, 2012 Share Posted April 10, 2012 What does the AutoIt Window Info Tool say about it? - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
ileandros Posted April 11, 2012 Author Share Posted April 11, 2012 What do you mean?? You want to copy the summary from the tool and show you??? expandcollapse popup>>>> Window <<<< Title: Choose File to Upload Class: #32770 Position: 50, 50 Size: 640, 480 Style: 0x96CC02C4 ExStyle: 0x00010101 Handle: 0x000A029E >>>> Control <<<< Class: Instance: ClassnameNN: Name: Advanced (Class): ID: Text: Position: Size: ControlClick Coords: Style: ExStyle: Handle: >>>> Mouse <<<< Position: 459, 68 Cursor ID: 0 Color: 0xC0C3C2 >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< Namespace Tree Control Tree View ShellView File &name: Files of &type: All Files (*.*) &Open Cancel Address: Desktop >>>> Hidden Text <<<< Namespace Tree Control Shell Preview Extension Host &Help I dont understand the question very much.. I feel nothing.It feels great. Link to comment Share on other sites More sharing options...
somdcomputerguy Posted April 11, 2012 Share Posted April 11, 2012 Well it appears to not have a control ID, but maybe the window title will be enough to work with. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
Artisan Posted April 11, 2012 Share Posted April 11, 2012 (edited) You can use WinActive or WinList to get the FileOpenDialog:WinWaitActive("Open") MsgBox(0,"","Boing!")Just tested that with metapad, and it worked just fine. You'd likely want to do a more thorough test to make sure it's the right FileOpenDialog, but it's quite doable. Edited April 11, 2012 by Artisan 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