Jump to content

why my autoit paused ?


 Share

Recommended Posts

Hi everybody,

Here is my script :

; Run the unikey ( Vietnamese keyboard for WinXP)

Run("Uk40RC1ntSetup.exe")

; Welcome screen

WinWaitActive("Unikey 4.0 NT Setup","&Next >")

Send("!n")

;License agreement

WinWaitActive("Unikey 4.0 NT Setup","I &Agree")

Send("!a")

; Choose location

WinWaitActive("Unikey 4.0 NT Setup","&Next >")

Send("!n")

; install option

WinWaitActive("Unikey 4.0 NT Setup","&Install")

Send("!i")

; Finish

WinWaitActive("Unikey 4.0 NT Setup","&Finish")

Send("!f")

But Script paused at line 2 (Run("Uk40RC1ntSetup.exe")).

I can't find error.

Please help me !

Thank in advance.

Vietnamese keyboard for WinXP :

http://prdownloads.sourceforge.net/unikey/Uk40RC1ntSetup.exe

Link to comment
Share on other sites

  • Moderators

"Unikey 4.0 NT Setup" does't exist yet or isn't active... (maybe try without the text part in the 2nd parameter if you are sure the first parameter is spelled correctly.

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

"Unikey 4.0 NT Setup" does't exist yet or isn't active... (maybe try without the text part in the 2nd parameter if you are sure the first parameter is spelled correctly.

Hi Smoke N,

Thanks ! but when I run script, the welcome screen appears and stop. That 's all.

Any ideas ?

Link to comment
Share on other sites

Hi Smoke N,

Thanks ! but when I run script, the welcome screen appears and stop. That 's all.

Any ideas ?

Also try:

Run("Uk40RC1ntSetup.exe")

; Welcome screen
WinWait("Unikey 4.0 NT Setup","&Next >")
WinActivate("Unikey 4.0 NT Setup","&Next >")
WinWaitActive("Unikey 4.0 NT Setup","&Next >")
Send("!n")
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
 Share

  • Recently Browsing   0 members

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