Jump to content

Recommended Posts

Posted

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.

Posted

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.

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

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
×
×
  • Create New...