Sign in to follow this  
Followers 0
laendinger

Export Win7 script to WinXP

2 posts in this topic

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

Share this post


Link to post
Share on other sites



Are you also using IE8 in WinXP? It might also help if you posted the web page source code.


#include <ByteMe.au3>

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