Jump to content
nemolorn

GetTextAtEX

Recommended Posts

So coming back after a long while and need help with finding/reading text.

 

s3xm.png

 

What I need to do is identify the line that is blue, then read that line(writeln) so It can be copied and paste into notepad

 

Only one line will be that particular shade of blue at a time.

 

What I've done is set the default x,y to a corner of the border(the grey bar).

 

I believe the font is Arial, size 8.

 

I can't find this function in the wiki, and don't quite understand all the settings of this function, least of which is which corner/pixel needs to be the "starting point" for this function to work properly. thanks.

 

*Set your Browser as the Active client

program New;

var
x,y,Font: Integer;

begin
 Bmp := TSCARBitmap.Create('deNqLYGBi+IAKGBgIiCBz4WxkBoSNqYxUNcTbT' +
     'owVeBSTB3A5DM1qXMGF1cF4vI8nHDC1Y3UGQbsgAAClLlHq')

 Findbitmap(x,y,bmp,0,0,1000,500)

 Movemouse(x,y+9)
 Font := LoadCharsFromFont2('Arial', 8, False, False, False, False);
 writeln(GetTextatex(x,y+39,10,Font,True,true,0,1,13395456,20,false,10));
end.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...