I just wanted to add that this command would be useful with ocr
ScreenCaptureRel>wnd,L,T,h,w,x1,y1,x2,y2,filename,ReturnVal
relative coordinates
Moderators: Dorian (MJT support), JRL
Re: relative coordinates
I am using MS 14.2.05
..... I'm learning, bare with me please.
Ok.. so I have a page and I want MS to look down the entire length of that page to look for an image, not just what's visible.... I would use
before my findimage code?
Can anyone give me a clear example using my code
Currently Im having to do "PAGE DOWN" then look again... Rinse, repeat..
..... I'm learning, bare with me please.
Ok.. so I have a page and I want MS to look down the entire length of that page to look for an image, not just what's visible.... I would use
Code: Select all
GetScreenRes>w,h
ScreenCapture>0,0,w,h,filename
before my findimage code?
Can anyone give me a clear example using my code
Code: Select all
FindImagePos>C:\Users\Win7\Macro Scheduler 14\IMAGES\Join.bmp,SCREEN,0.7,1,XArr,YArr,NumFound1,CCOEFF
Using:
MS 14.2.07 (regular)
Windows 7
Browser: Chrome
MS 14.2.07 (regular)
Windows 7
Browser: Chrome
- Marcus Tettmar
- Site Admin
- Posts: 7393
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: relative coordinates
You still need to do Page Down because the image you are finding has to be visible.
NOTHING will get you an image of the part of the page not on the screen.
Just keep doing your page down and repeat ....
NOTHING will get you an image of the part of the page not on the screen.
Just keep doing your page down and repeat ....
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- Grovkillen
- Automation Wizard
- Posts: 1128
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Bräcke, Sweden
- Contact:
Re: relative coordinates
You could try to use PhantomJS.
Re: relative coordinates
Marcus Tettmar wrote:You still need to do Page Down because the image you are finding has to be visible.
NOTHING will get you an image of the part of the page not on the screen.
Just keep doing your page down and repeat ....
Thank you Marcus.
Using:
MS 14.2.07 (regular)
Windows 7
Browser: Chrome
MS 14.2.07 (regular)
Windows 7
Browser: Chrome
Re: relative coordinates
Thank you, I will check it out!Grovkillen wrote:You could try to use PhantomJS.
Using:
MS 14.2.07 (regular)
Windows 7
Browser: Chrome
MS 14.2.07 (regular)
Windows 7
Browser: Chrome