Jump to content

Export Win7 script to WinXP


Recommended Posts

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...