coolzero Posted July 23, 2009 Share Posted July 23, 2009 Hi everyone. I'm new here in the forum and new in AutoIt. I'm trying to script the installation of Gadwin Printscreen ver4.4 (freeware). I'm having a problem scripting the 3rd window in the setup which ask you to choose a language. It seems AutoIt cannot see the window. I used the AutoIt Window Info to get the details and coded it in the script but failing on Step 3. I've tried using functions WinActive(), WinWait(), WinActivate(), ControlClick() with no success. If anyone wants to try it to see, I appreciate all the help. Here is a sample for my first script: ; Step 1 - This will run the PrintScreen44_Setup.exe installer Run("PrintScreen44_Setup.exe") ; Step 2 - Script to do ALT +r WinWaitActive("Open File - Security Warning", "&Run") Send("!r") ; Step 3 - Language dialog box (English and the OK button is auto select so I assume that I can use Send to issue an ENTER keyboardstroke) WinWaitActive("Installer Language", "Please select a language") Send("{ENTER}") 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