Little problem with WaitScreenImage

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
ABIVEN
Pro Scripter
Posts: 71
Joined: Sun Aug 07, 2005 7:22 pm
Location: PARIS

Little problem with WaitScreenImage

Post by ABIVEN » Sat Feb 10, 2018 8:25 am

Hello

I quite use Image Recognition but often encounters problems with WaitScreenImage

Example I wait the end of an operation : the scroll bar shortens
So my WaitScreenImage is the short scroll bar but MSC doesnt wait

Idea ?

Regards

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Little problem with WaitScreenImage

Post by Marcus Tettmar » Mon Feb 12, 2018 9:45 am

Please clarify. Perhaps you just need to capture something different. If only waiting for one image then clearly that image needs to be something that will appear for every scenario you intend to wait for. If there are two possible outcomes and you can't represent that with one capture then why not use two FindImagePos commands in a loop so that you are waiting for one or other outcome?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

ABIVEN
Pro Scripter
Posts: 71
Joined: Sun Aug 07, 2005 7:22 pm
Location: PARIS

Re: Little problem with WaitScreenImage

Post by ABIVEN » Wed Feb 14, 2018 5:46 pm

Thanks Marcus

I will try something

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