Jump to content
Sign in to follow this  
Sportivo

Help

Recommended Posts

Sportivo

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

Share this post


Link to post
Share on other sites
Polyphem

I dont see the error-message :think:, 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 by Polyphem

This post will be edited again by Polyphem: Tomorrow, 11:55 AM

Share this post


Link to post
Share on other sites
Sportivo

I dont see the error-message :think:, 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?

Share this post


Link to post
Share on other sites
Polyphem

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 by Polyphem

This post will be edited again by Polyphem: Tomorrow, 11:55 AM

Share this post


Link to post
Share on other sites
Sportivo

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

Share this post


Link to post
Share on other sites
Polyphem

Your welcome :think:...


This post will be edited again by Polyphem: Tomorrow, 11:55 AM

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.