Search found 20 matches

by stearno
Mon Aug 03, 2020 12:38 pm
Forum: Technical / Scripting
Topic: Cannot recognize the correct image
Replies: 4
Views: 309

Re: Cannot recognize the correct image

Yes. That was testing in debug mode. I was testing what tolerance works. In Debug mode, up to 50 works. Then when run macro from beginning with Start, it will recognize the other image. That is why I reduced that one to 0,to see if "an exact match" would fix it. But it still would click on the 5mTre...
by stearno
Mon Aug 03, 2020 11:35 am
Forum: Technical / Scripting
Topic: Cannot recognize the correct image
Replies: 4
Views: 309

Re: Cannot recognize the correct image

It only allowed 1 attachment.
by stearno
Mon Aug 03, 2020 11:32 am
Forum: Technical / Scripting
Topic: Cannot recognize the correct image
Replies: 4
Views: 309

Cannot recognize the correct image

My Objective: I want MS to find the correct image, and click on it. But no matter what the settings, it either doesn't find it or selects the wrong one. I have tried to figure this out for a week and stumped. If I run Debug, and click thru each line, it finds the correct image everytime. So I have s...
by stearno
Tue Jul 28, 2020 6:24 pm
Forum: Technical / Scripting
Topic: Window focus based upon a notification sound
Replies: 15
Views: 653

Re: Window focus based upon a notification sound

Okay, I figured that was true (as it's logical) . Thought best to ask, just to be sure. Thanks for confirming and all your help.
by stearno
Tue Jul 28, 2020 6:04 pm
Forum: Technical / Scripting
Topic: Window focus based upon a notification sound
Replies: 15
Views: 653

Re: Window focus based upon a notification sound

I think maybe its easiest to MS just focus on one screen at a time and rotate every x seconds. By the way, does the Image Recognition work when monitor is turned off (specifically, I have MS running on a server when I am not connected to it). If you don't know, then I will find out soon. Haha, grea...
by stearno
Tue Jul 28, 2020 4:29 pm
Forum: Technical / Scripting
Topic: Window focus based upon a notification sound
Replies: 15
Views: 653

Re: Window focus based upon a notification sound

Dorian (MJT support) wrote:
Tue Jul 28, 2020 4:03 pm
What about ReadFile, and then just get the length?
It turns out the log is not updated in real time...
by stearno
Tue Jul 28, 2020 4:23 pm
Forum: Technical / Scripting
Topic: Window focus based upon a notification sound
Replies: 15
Views: 653

Re: Window focus based upon a notification sound

I think maybe its easiest to MS just focus on one screen at a time and rotate every x seconds.

By the way, does the Image Recognition work when monitor is turned off (specifically, I have MS running on a server when I am not connected to it). If you don't know, then I will find out soon.
by stearno
Tue Jul 28, 2020 3:50 pm
Forum: Technical / Scripting
Topic: Window focus based upon a notification sound
Replies: 15
Views: 653

Re: Window focus based upon a notification sound

Unfortunately, it has much text written into the file. So its size will not be a good trigger. Using ReadLn, how can I know how many lines in the log file or make it go to the last line? I guess, worst case scenario, I could set it as a big number, then loop it to go backwards until it does not get ...
by stearno
Tue Jul 28, 2020 10:45 am
Forum: Technical / Scripting
Topic: Image Recog. - Can't read the image
Replies: 7
Views: 457

Re: Image Recog. - Can't read the image

This is great information. Thank you for clarifying about the number found with exact versus COEFFC. I was not aware of that.

So it sounds like I get to play with Exact and the tolerences. Your guidance has pointed me in the right direction. Thank you very much!
by stearno
Tue Jul 28, 2020 10:41 am
Forum: Technical / Scripting
Topic: Window focus based upon a notification sound
Replies: 15
Views: 653

Re: Window focus based upon a notification sound

It is a sound only produced by a software. After the sound an image pops on an existing window. That image, I want the MS to recognize it and take action. But I need to tell MS to focus on the window first. I think what I can do is, it does write a line in a log when this sound goes off. I could hav...
by stearno
Tue Jul 28, 2020 8:53 am
Forum: Technical / Scripting
Topic: Window focus based upon a notification sound
Replies: 15
Views: 653

Window focus based upon a notification sound

My objectcive. I have 3 weindows open. They are too big to have all three on the screen at the same time. When a window triggers a notification, I want the Macro to bring it into focus and then image recognition to start. Is this possible?
by stearno
Tue Jul 28, 2020 8:51 am
Forum: Technical / Scripting
Topic: Image Recog. - Can't read the image
Replies: 7
Views: 457

Re: Image Recog. - Can't read the image

No, the icons are static. I have attached what the page looks like normally and then what it looks like when I zoomed it (thinking it needed a bigger icon would be easier to recognize). I did a couple of tests. It is actually looking for the same size as the bmp picture. For example, I zoomed in rea...
by stearno
Mon Jul 27, 2020 9:55 am
Forum: Technical / Scripting
Topic: Image Recog. - Can't read the image
Replies: 7
Views: 457

Re: Image Recog. - Can't read the image

No it is static unless another field has a value (which I need to recognize it).

The image is at https://ibb.co/BwnyfrC. It is at middle top, under "imgbb" blue words.

The other place to see it is myfxbook.com, but I dn't think you can access without an account.
by stearno
Mon Jul 27, 2020 7:56 am
Forum: Technical / Scripting
Topic: Let>RP_WAIT=1 work with CopyFolder>
Replies: 4
Views: 387

Re: Let>RP_WAIT=1 work with CopyFolder>

Okay, thank you for doing that test. Gives more confidence that it wont delete while copying.
by stearno
Mon Jul 27, 2020 7:55 am
Forum: Technical / Scripting
Topic: Image Recog. - Can't read the image
Replies: 7
Views: 457

Image Recog. - Can't read the image

On a website, I need the Scheduler to recognozie this image, and then do soemthing when it does. But it does not recognize it at all. https://ibb.co/BwnyfrC I have tried: * zoomed into the website to make it bigger * lowering the coefficient * making it Exact * making it look all over the screen * m...
Sign up to our newsletter for free automation tips, tricks & discounts