Sign in to follow this  
Followers 0
ileandros

FileOpenDialog question (IE)

5 posts in this topic

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.

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

What do you mean?? You want to copy the summary from the tool and show you???

>>>> 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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

#5 ·  Posted (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 by Artisan

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0