Sign in to follow this  
Followers 0
Phlegm

Any Suggestions?

5 posts in this topic

Here the end of a script I'm working on.

Can anyone see why the script never

gets to the msg box at the end?

WinWait("Adobe Registration - Registration Choice","Please choose if you")

If Not WinActive("Adobe Registration - Registration Choice","Please choose if you") Then WinActivate("Adobe Registration - Registration Choice","Please choose if you")

WinWaitActive("Adobe Registration - Registration Choice","Please choose if you")

Send("{LEFT}{ENTER}")

MsgBox(48,"Finished","Acrobat v5.0.5 install is compete." & @CRLF & "Please reboot before using Acrobat.")

Thanks again!

Share this post


Link to post
Share on other sites



Here the end of a script I'm working on.

Can anyone see why the script never

gets to the msg box at the end?

WinWait("Adobe Registration - Registration Choice","Please choose if you")

If Not WinActive("Adobe Registration - Registration Choice","Please choose if you") Then WinActivate("Adobe Registration - Registration Choice","Please choose if you")

WinWaitActive("Adobe Registration - Registration Choice","Please choose if you")

Send("{LEFT}{ENTER}")

MsgBox(48,"Finished","Acrobat v5.0.5 install is compete." & @CRLF & "Please reboot before using Acrobat.")

Thanks again!

the winwait doesn't have a timeout, so it never moves to the second line

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Here the end of a script I'm working on.

Can anyone see why the script never

gets to the msg box at the end?

WinWait("Adobe Registration - Registration Choice","Please choose if you")

If Not WinActive("Adobe Registration - Registration Choice","Please choose if you") Then WinActivate("Adobe Registration - Registration Choice","Please choose if you")

WinWaitActive("Adobe Registration - Registration Choice","Please choose if you")

Send("{LEFT}{ENTER}")

MsgBox(48,"Finished","Acrobat v5.0.5 install is compete." & @CRLF & "Please reboot before using Acrobat.")

Thanks again!

Because the script is still waiting with >> WinWaitActive("Adobe Registration - Registration Choice","Please choose if you"), you'll note it doesn't send left/enter either.

[center]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.[/center]

Share this post


Link to post
Share on other sites

Actually it does send {left}{enter} keys to the window

but it never moves onto the next line.

Thanks

Share this post


Link to post
Share on other sites

Then that's not your whole code... :)


[center]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.[/center]

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