Sportivo Posted April 12, 2006 Posted April 12, 2006 Hello i have a simple error, who can help me or resolve this problem? this is the script: WinWait("WhosOn","Scan Complete.S")If Not WinActive("WhosOn","Scan Complete.S") Then WinActivate("WhosOn","Scan Complete.S") WinWaitActive("WhosOn","Scan Complete.S") Send("{ENTER}") on attachment the msgbox that appear.errauto.bmp
Polyphem Posted April 12, 2006 Posted April 12, 2006 (edited) I dont see the error-message , but from the source I would guess theres an endif missing. I would do something more like this: WinWait("WhosOn","Scan Complete.S") while WinActive("WhosOn","Scan Complete.S") = 1 WinActivate("WhosOn","Scan Complete.S") wend Send("{ENTER}") but maybe I just dont understand the code .... Edited April 12, 2006 by Polyphem This post will be edited again by Polyphem: Tomorrow, 11:55 AM
Sportivo Posted April 12, 2006 Author Posted April 12, 2006 I dont see the error-message , but from the source I would guess theres an endif missing. I would do something more like this: WinWait("WhosOn","Scan Complete.S") while WinActive("WhosOn","Scan Complete.S") = 1 WinActivate("WhosOn","Scan Complete.S") wend Send("{ENTER}") but maybe I just dont understand the code .... i use sciTE--> scriptwriter do you know?
Polyphem Posted April 12, 2006 Posted April 12, 2006 (edited) Yep, I use that too. From the screenshot you could even better do WinWait("WhosOn") while WinActive("WhosOn") = 0 WinActivate("WhosOn") wend Send("{ENTER}") as I dont see the "Scan Complete.S" on it. Edit: Ups, sorry, it's winactive = 0 Edited April 12, 2006 by Polyphem This post will be edited again by Polyphem: Tomorrow, 11:55 AM
Sportivo Posted April 12, 2006 Author Posted April 12, 2006 Yep, I use that too. From the screenshot you could even better do WinWait("WhosOn") while WinActive("WhosOn") = 0 WinActivate("WhosOn") wend Send("{ENTER}") as I dont see the "Scan Complete.S" on it. Edit: Ups, sorry, it's winactive = 0 VERY VERY GOOD NOW IS CORRECT IT WORK VERY WELL THANK YOU SO MUCH....
Polyphem Posted April 12, 2006 Posted April 12, 2006 Your welcome ... This post will be edited again by Polyphem: Tomorrow, 11:55 AM
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now