Manual for Noobs

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
Frizze
Newbie
Posts: 5
Joined: Mon Sep 09, 2019 7:48 am

Manual for Noobs

Post by Frizze » Tue Sep 10, 2019 4:40 pm

Hi,
i never code before, and i am wondering if there is a more understanding manual with better examples.

I need to find an image -> klick it -> find another image -> klick it -> another image -> klick it -> an image -> klick it.

and the first image could be 1 out of 15 or all 15 .

I have no Idea how i can do that. In my head i have an Idea, but i have no Idea how to write that in this Code.

Scones
Newbie
Posts: 7
Joined: Fri Jul 05, 2019 11:21 am

Re: Manual for Noobs

Post by Scones » Thu Sep 26, 2019 10:50 am

Use the Image Recognition Wizard
Image

Select "Find the position of an image to interact with." and hit "Next >>
Image

Click "Capture An Image" and drag an rectangle around the image - Then hit Next >> again
Image

Select if you want to search the entire screen or only in a specific window or only within a specified rectangle and hit Next>>
Image

Select Left click on Center of Image and click Insert Code
Image

This should insert a code that looks something like this:

FindImagePos>%BMP_DIR%\image_1.bmp,SCREEN,0.7,1,XArr,YArr,NumFound,CCOEFF
If>NumFound>0
MouseMove>XArr_0,YArr_0
LClick
else
Endif


Now keep doing that for each image and it should work

Maybe this video will help
https://www.youtube.com/watch?v=_bqjWWlOIDk

Post Reply