Jump to content

AutoIt Script help


dvSHOW

Recommended Posts

Hey... I am making autoit script. What do i must write instead of Sleep (10000), i need something else, not pause, any suggestion?

here is my script


; Run
Run($SF_1)

; Setup
WinWaitActive("ACDSee Pro 2")
Send("{ENTER}")

; License Agreement
WinWaitActive("ACDSee Pro 2")
Send("{UP}")
Send("{ENTER}")

; Customer Information
WinActive("ACDSee Pro")
Send("username")
Send("{TAB 3}")
Send("XXXXX-XXXX-XXXXXX-XXXXXX")
Send("{TAB 2}")
Send("{ENTER}")

; Setup Tyte
WinWaitActive("ACDSee Pro 2")
Send("{ENTER}")

; Shell integrated Setup
WinWaitActive("ACDSee Pro 2")
Send("{ENTER}")

; Ready to install
WinWaitActive("ACDSee Pro 2")
Send("{ENTER}")
[color="#FF0000"][b]Sleep(24000)[/b][/color]

; Finish
WinWaitActive("ACDSee Pro 2")
Send("{TAB}")
Send("{SPACE}")
Send("{TAB}")
Send("{ENTER}")

Edited by dvSHOW
Link to comment
Share on other sites



; Ready to install
WinWaitActive("ACDSee Pro 2")
Send("{ENTER}")
[color="#FF0000"][b]Sleep(24000)[/b][/color]

; Finish
WinWaitActive("ACDSee Pro 2")
Send("{TAB}")
Send("{SPACE}")
Send("{TAB}")
Send("{ENTER}")

Since between one window and another you've got WinWaitActive you can simply remove Sleep. You will get more help on AutoIt related forum.

Link to comment
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...