Updated to the v5.7 version, I changed the way to capture,Before, click the left button of the mouse, and then move the mouse out of 100 pixels.Now, press down the right button of the mouse, and then move a certain distance and release the right button.In addition, I updated the "Capture Image To Text" window,allowing the use of tags to split the text at one time and generate multiple text libraries.

Hi, FeiYue, i have a question, your script works great, except the different displayer issue, can you maybe make a fuzzy match setting at the next update?here is my issue: the same image/text to find on different displayer will not work as the same, let's say i captured this on PC1:__00000__________00_________________0________00000___________00______0____00_________00_________________0_______00___00__________00_____00____00___0000__00___0000___0000__000_____00_____00__00000_0000__00_00_______00__00_00__00__00__0___0__0______00________00___00_00__00__00000___00____0_00_00____0_00______0______00_____________00_00__0______0000_0000000_00_0000000_00______0______00__________00000_00_0000_______0_00______00_00______00______0______00________000__00_00_00__00_____0_00______00_00______00______0______00_____00_00___00_00__0___00___00__00__00_00__00__00__0___0__0_______00___00__00__000_00__00___00000____0000__00___0000___00000__00_______00000____000000__00__00

it will not work on the PC2(with different displayer but the same resolution 1440x900), if i capture the image on PC2, it looks like this:_00000___________0_________________0_________0000____________0______0_____0__________0_________________0________0____0___________0______0_____0___0000___0___0000____000__0000_____0______0___0000__0000__000________0____0__0__0____0__0___0__0_______0_________0____0__0___0___000_____0____0__0__0____0__0______0_______0______________0__0___0______000__000000__0__000000__0______0_______0___________0000__0___000______0__0_______0__0_______0______0_______0__________0___0__0___0__0_____0__0_______0__0_______0______0_______0______0__0____0__0___0__0_____0__0____0__0__0____0__0___0__0________0____0___0___00__0___0___00000____0000___0___0000____000___000_______0000_____000_0__000__00

as you can see, the second one got a smaller size, i think it's the problem? or maybe i was misunderstanding about using the script?thanks! FeiYue, and everybody in the forum.

ivill wrote:your script works great, except the different displayer issue

what does different "displayer" mean? obviously you would need to make sure everything is exactly the same on the other PC, otherwise you cant guarnatee that the graphics will be the same and therefore the imagesearch will not match. that text looks different because maybe the scaling % is different, or maybe you have ClearType fonts or something to make the fonts more smooth. either way i would definitely not expect this to work across different computers with different display settings.

Bascially I am looking to have it confirm that text is populating as the program scrolls text down the window (DISCORD Server Chat window). What I am trying to do is when it matches the text and I get a valid hit, I would do something like:

I can run the original script that will detect and move mouse to the chosen image/text. I recognize how to remove the popup just before the mouse is automatically moved to the position of the found text/image.

My problem is creating a script that will run continuously, clicking on a default image every ~5 seconds. But, with a higher priority, the script should check for another image/text that is rare (not always visible), but should be clicked first, if it exists on screen.

Here is what I have. It only runs once i open it one time. Of course the rest of the code is there after the" ;===== Copy The Following Functions To Your Own Code Just once =====" partI cant figure out where to put the other function codes ex: the left click and or send text code.(ex: FindText_Send_Text(Ok,"text sent",EnterKey:=1,X_Adj:=0,Y_Adj:=0,MoveBack:=0))

also once it finds the text and send my text how do i get it to do it again? below is a copy of what i have. ant help would be great.**********************************************************************************************************************************************t1:=A_TickCount

So I got it to reload i just cant figure out how to make it click the text then write a message then hit enter. I'm still working on it any help would be loved!Also is there a way to make it reload on its own like every 5-10seconds?

Is it possible to make a function (based on your code) that take as input image file, converts it to the string and then returns the string? i need to convert several small images (.PNG) files and then search for their images.

as conversion type it can use Gray2Two as it can set gray threshold automaticallyas parameters it can accept offsets from image borders