Jump to content

Recommended Posts

Posted (edited)

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

Posted


; 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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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