Results 1 to 2 of 2

Thread: GetTextAtEx Explanation?

  1. #1
    Join Date
    Jan 2013
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default GetTextAtEx Explanation?

    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!

    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.
    Last edited by ForMyFutures; 02-03-2013 at 09:42 AM.
    "It takes a man with nothing to appreciate the value of everything."

    - Taking script requests, message me. -

  2. #2
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

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

    Parameter for the include version:
    Simba Code:
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •