Sign in to follow this  
Followers 0
cburbs

Autoit won't read send("!o")

3 posts in this topic

#1 ·  Posted (edited)

I am trying to get a script going but it stops at this page - Installation Definition.

Everything else works fine. Here is the code...Bold is where it stops and I also attatched a pic.

Run("setupsql.exe")

Initial Setup Screen

WinWaitActive("Setup", "Microsoft SQL Server 2000")

Send("{ENTER}")

; Install location

WinWaitActive("Welcome")

Send("!Next")

; Features overview

WinWaitActive("Computer Name")

Send("!Next")

; License agreement

WinWaitActive("Installation Selection")

Send("!Next")

; Quick start

WinWaitActive("User Information")

Send("!Next")

; Quick start

WinWaitActive("Software License Agreement")

Send("!Y")

; Quick start

WinWaitActive("Software License Agreement")

Send("!Y")

WinWaitActive("Definition", "You can select one of the following types")

send("!o")

send("!n")

; Quick start

WinWaitActive("Start Copying Files")

Send("!Next")

; Quick start

WinWaitActive("Setup Complete")

Send("{Enter}")

post-28253-1192731434_thumb.jpg

Edited by cburbs

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

WinWaitActive("Definition"....

is not what the pic says

also sometimes you can use - send Tab - to move th the next item and - send space - to select a checkbox/radio

The propoer way to do this is with ControlClick(), if possible

8)

BTW Welcome to the Autoit Forums

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

I am just looking into this recently - how do you run a Control Click()?

I know I changed that recenlty just for a try on the Winwait and that didn't do anything.

It is almost like it doesn't see the window itself.

I tried a send("!n") and it won't even take that on this window.

Edited by cburbs

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