Jump to content

Recommended Posts

Posted

Hi,

I wrote a Script to controll a Fileupload.

It worked on Win7IE8 perfect, but on the xp the following snippet failed:

$hChoose = WinGetHandle("Datei hochladen")
ControlSetText($hChoose, "", "Edit1", $filepath)
ControlClick($hChoose, "", "Button1")

The Command 'ControlClick($hChoose, "", "Button1")' didn't click the open Button in the Upload window on XP.

Instead this line clicked the Submit Button on the IE Page.

Is this Snippet enough or do you need the whole code?

any help is appreciated.

laendinger

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