Jump to content
Sign in to follow this  

Why the window can not be identified?

Recommended Posts


1. My control information is :

<input type='file' name='fileExample'>


<td>&lt;input type='file' name='fileExample'&gt;</td>

2. The screenshot please refer to "Browse.jpg".

3.My code is:

#include <IE.au3>

$oIE = _IE_Example("form")

$oForm = _IEFormGetObjByName($oIE, "ExampleForm")

$oInputFile = _IEFormElementGetObjByName($oForm, "fileExample")

_IEAction($oInputFile, "click");

;Atfer this ,it will pop up a window ,i want to set text to the edit box,but failed!

;Why the window can not be identified?It is a standard microsoft window.


ControlSetText("选择文件","","Edit1","c:\my text")

4.The window information is:

>>>> Window <<<<

Title: 选择文件

Class: #32770

Position: 0, 20

Size: 610, 507

Style: 0x96CC02C4

ExStyle: 0x00010101

Handle: 0x001F01D6

>>>> Control <<<<

Class: Edit

Instance: 1

ClassnameNN: Edit1


Advanced (Class): [CLASS:Edit; INSTANCE:1]

ID: 1148


Position: 180, 419

Size: 194, 12

ControlClick Coords: 97, 9

Style: 0x54000080

ExStyle: 0x00000000

Handle: 0x003D045E

Annybody can help?Its urgent...Appreciate it!


Share this post

Link to post
Share on other sites

Please help!!Thanks in advance.

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