Alvin1555 Posted November 21, 2008 Share Posted November 21, 2008 (edited) 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 November 22, 2008 by Alvin1555 Link to comment Share on other sites More sharing options...
youknowwho4eva Posted November 21, 2008 Share Posted November 21, 2008 try space instead Giggity Link to comment Share on other sites More sharing options...
Alvin1555 Posted November 21, 2008 Author Share Posted November 21, 2008 try space insteadDoes not make any difference. Link to comment Share on other sites More sharing options...
youknowwho4eva Posted November 21, 2008 Share Posted November 21, 2008 What about a mousemove and mouseclick? Or sending the key, see if its still on the same window then send the key again? Giggity Link to comment Share on other sites More sharing options...
Alvin1555 Posted November 21, 2008 Author Share Posted November 21, 2008 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. Link to comment Share on other sites More sharing options...
LarryDalooza Posted November 21, 2008 Share Posted November 21, 2008 Is this in Vista? Lar. AutoIt has helped make me wealthy Link to comment Share on other sites More sharing options...
Alvin1555 Posted November 21, 2008 Author Share Posted November 21, 2008 Is this in Vista?Lar.Yes, it is. Link to comment Share on other sites More sharing options...
LarryDalooza Posted November 21, 2008 Share Posted November 21, 2008 Yes, it is.Have you added #RequireAdmin to your script?Lar. AutoIt has helped make me wealthy Link to comment Share on other sites More sharing options...
Alvin1555 Posted November 22, 2008 Author Share Posted November 22, 2008 Have you added #RequireAdmin to your script?Lar.It works, Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now