WAIT FOR - Image on Screen

Share your macros, knowledge, solutions, services, ...
Post Reply
webbar
Posts: 4
Joined: Thu Mar 30, 2017 7:00 pm

WAIT FOR - Image on Screen

Post by webbar » Mon Jul 17, 2017 7:40 pm

I am trying to utilize WAIT FOR - Image on Screen as a step prior to executing additional macros.

I have tried to utilize the commands to capture an image on the screen, as well as uploading the image that I am waiting to appear. Neither option seems to be working for me.

When attempting to capture an image on the screen, I get the popup indicating "Close this message box and then use the left mouse button to select an area to capture on the screen."

Am I supposed to just click on the specific image I am waiting for, or somehow make a square while pressing the left mouse button down to capture the area that the image should appear within? I was unsuccessful with this method, so I uploaded a BMP file of the image I am waiting on, but this did not yield any results either, and the macro keeps failing on this step.

Petr
Posts: 89
Joined: Tue Oct 18, 2016 1:12 pm

Re: WAIT FOR - Image on Screen

Post by Petr » Thu Jul 20, 2017 11:38 am

There is a bug that causes that after the ""Close this message box and then use ..." is closed (button to close is clicked) then the dialog and whole the Macro Toolworks (Perfect Keyboard) is still showing on the screen. However, you should be able to select the area of the screen as shown on this picture:

Image

The bug will be fixed in new version (coming after 8.3.5). As a workaround, make the Macro Toolworks (Perfect Keyboard) window smaller and move it where it does not occupy the area you want to capture.

webbar
Posts: 4
Joined: Thu Mar 30, 2017 7:00 pm

Re: WAIT FOR - Image on Screen

Post by webbar » Tue Jul 25, 2017 4:56 pm

Hi Petr,

I have also noticed that, since I have two monitors, if I have Macro Toolworks open on monitor A, but I need to capture something from monitor B, the image capture tool does not populate to capture the image. If I move Macro Toolworks to monitor B, then the image capture tool will capture the image.

However, when the image capture is successful, the script still does not seem to be recognizing the image captured before proceeding to the next step.

Thanks!

Petr
Posts: 89
Joined: Tue Oct 18, 2016 1:12 pm

Re: WAIT FOR - Image on Screen

Post by Petr » Fri Jul 28, 2017 3:09 pm

You are right, this is not a convenient behavior. Before we fix it please use the work around you very well described: Move the Macro Toolworks to the screen you want to capture the image.

Post Reply