SRL Archive - OSR Help

GetTextAtEx Explanation?


ForMyFutures

2013-02-03 04:37:26

I've tried using it to grab text from the GE interface, but it throws me an error with invalid amount of parameters.

OCR And Includes/Simba both have a function called GetTextAtEx()

I just need help with trying to grab the text from the Grand Exchange screen and store it in a string so I can use it. Suggestions would be much appreciated! :confused:

Note: I know which parameters it needs for the OCR one, but it automatically tries to use the Includes/Simba one which I do not know how to use. If anyone could help, that'd be great.

riwu

2013-02-03 05:20:28

If you want to use the Simba version, call GetTextAtExWrap()

Parameter for the include version:

function GetTextAtEx(x, y: Integer; Tolerance: Integer; Chars: String; CheckShadow, CheckOutline: Boolean; MinSpacing, MaxSpacing: Integer; TextColor: Integer; TextLength: Integer; Strict: Boolean; Range: TCharRange): string;

It's used in GetMoneyPouchAmount() so you may want to take a look at that and see how it is used.