Jump to content
Sign in to follow this  
Alvin1555

>SOLVED> Unable to script setup-wizard

Recommended Posts

Alvin1555

Hello,

I try to control a setup wizard (innosetup). I use he following statements :

WinWaitActive(....)

Send("{ENTER}")

WinWaitClose(....)

The Enter command doesn't do anything. I tried the same action with a controlclick command which returned a 1 (succes) but the wizard will not go to the next page. Please Help!!

Edited by Alvin1555

Share this post


Link to post
Share on other sites
youknowwho4eva

try space instead


Giggity

Share this post


Link to post
Share on other sites
youknowwho4eva

What about a mousemove and mouseclick? Or sending the key, see if its still on the same window then send the key again?


Giggity

Share this post


Link to post
Share on other sites
Alvin1555

What about a mousemove and mouseclick? Or sending the key, see if its still on the same window then send the key again?

I just recovered that all send, mousemove and other commands aren't working. Is it possible that an application rejects the scripts? Even the mouse isn't responding to the mousemove command (script runs through without error messages). The only commands working are the commands on the window.

Share this post


Link to post
Share on other sites
LarryDalooza

Is this in Vista?

Lar.


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
Share on other sites
LarryDalooza

Yes, it is.

Have you added #RequireAdmin to your script?

Lar.


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
Share on other sites
Alvin1555

Have you added #RequireAdmin to your script?

Lar.

It works, Thanks

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.