Hi!
I have created a WaitScreenImage> to find a image in Edge web browser.
This works on my PC, cos i have the same screen resolution and zoom level in Edge as the needle image.
But when I run on other PC with 4K monitor and different Zoom level in Edge, then it fails!
I have tired CCOEFF with 0.5 sensitivity , but then is detects wrong.
I have also tried to start a StartEdge session with correct version of msedgedriver.exe. But I get
ERROR: Line: 242 - (1:1) Unquoted string in JSON data only valid for dictionary names.
When i run
Let>EDGEDRIVER_EXE=c:\msedgedriver.exe
EdgeStart>session_id
Any input is appreciated!
Thanks!
Image Recognition in Edge problem.
Moderators: Dorian (MJT support), JRL
-
- Pro Scripter
- Posts: 149
- Joined: Tue Mar 23, 2004 9:11 pm
- Dorian (MJT support)
- Automation Wizard
- Posts: 1390
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Re: Image Recognition in Edge problem.
Yes, we have a Custom Scripting Service. Message me or go here
-
- Pro Scripter
- Posts: 149
- Joined: Tue Mar 23, 2004 9:11 pm
Re: Image Recognition in Edge problem.
Thanks!
I have created different sizes and that works ok.
But...
Running V15.0.11
1. FindImagePos>%BMP_DIR%\Zoom_75.bmp,SCREEN,0.9,1,XArr,YArr,NumFound,CCOEFF
Always return NumFound=1 after the PC locks and I login again. Only way to get it to detect correct again is to restart the application. I have tried SCREEN, WINDOW etc ect same result
WaitScreenImage> Works OK
2. Is there any way to detect the Zoom Level in a Edge browser? Without EdgeStart>
I have created different sizes and that works ok.
But...
Running V15.0.11
1. FindImagePos>%BMP_DIR%\Zoom_75.bmp,SCREEN,0.9,1,XArr,YArr,NumFound,CCOEFF
Always return NumFound=1 after the PC locks and I login again. Only way to get it to detect correct again is to restart the application. I have tried SCREEN, WINDOW etc ect same result
WaitScreenImage> Works OK
2. Is there any way to detect the Zoom Level in a Edge browser? Without EdgeStart>
- Dorian (MJT support)
- Automation Wizard
- Posts: 1390
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Re: Image Recognition in Edge problem.
Not that I'm aware of, but you could always reset it to default by setting focus to Edge with SetFocus and sending Ctrl-0
Press Ctrl
Send>0
Release Ctrl
Press Ctrl
Send>0
Release Ctrl
Yes, we have a Custom Scripting Service. Message me or go here