Help me for WSI_TIMEOUT

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
olllllliii
Pro Scripter
Posts: 60
Joined: Tue Dec 22, 2009 9:51 am
Location: Mannheim ( Germany )
Contact:

Help me for WSI_TIMEOUT

Post by olllllliii » Fri Feb 15, 2013 7:50 am

I tought WSI_TIMEOUT=10 waits for a maximum time of 10 seconds.
But i get an error after 2 seconds ... that the picture wasnt found...
any idea ? I am useing Version 13.x - 14.0.4 ( Windows 7 64 Bit Ultimate)


//Wait for
Let>WSI_TIMEOUT=10
WaitScreenImage>%BMP_DIR%\image_1.bmp,0.7,CCOEFF

MouseMove>xx,yy
Lclick

Let>WSI_TIMEOUT=10
WaitScreenImage>%BMP_DIR%\image_2.bmp,0.7,CCOEFF

etc...
Oliver Hilger Mannheim
alias Olllllliii

User avatar
JRL
Automation Wizard
Posts: 3532
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Fri Feb 15, 2013 2:19 pm

WaitScreenImage> doesn't display an error on timeout. You have to read the result of the WSI_TIMEDOUT variable. If you're getting a popup error I think it means that the image file name you've specified (%BMP_DIR%\image_1.bmp) does not exist.

olllllliii
Pro Scripter
Posts: 60
Joined: Tue Dec 22, 2009 9:51 am
Location: Mannheim ( Germany )
Contact:

Thanks

Post by olllllliii » Sat Feb 16, 2013 9:30 am

Found it ...it was a problem with the user rights i gave ...now it works perfect.... MS had couldnt access without admin rights to the folder ..

Thank you JRL :-)
Oliver Hilger Mannheim
alias Olllllliii

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts