Macro Toolworks and Perfect Keyboard Forums • WAIT FOR - Image on Screen
Page 1 of 1

WAIT FOR - Image on Screen

Posted: Mon Jul 17, 2017 7:40 pm
by webbar
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.

Re: WAIT FOR - Image on Screen

Posted: Thu Jul 20, 2017 11:38 am
by Petr
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:


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.

Re: WAIT FOR - Image on Screen

Posted: Tue Jul 25, 2017 4:56 pm
by webbar
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.


Re: WAIT FOR - Image on Screen

Posted: Fri Jul 28, 2017 3:09 pm
by Petr
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.