Results 1 to 7 of 7

Thread: HELP-function(GetTextAtEx)

  1. #1
    Join Date
    Oct 2011
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Question HELP-function(GetTextAtEx)

    Can any one explain to me in detail how to use the function GetTextAtEx
    for simba, this doesn't explain anything http://docs.villavu.com/simba/script...rs-getuptextat
    If any 1 know how to use plz post...

  2. #2
    Join Date
    Feb 2012
    Location
    Wonderland
    Posts
    1,988
    Mentioned
    41 Post(s)
    Quoted
    272 Post(s)

    Default

    You can try using the search bar too(specifically), if your don't understand somthing off the doc's (even though it IS on the doc's, here ); it (the search bar) tends to turn up many useful topics that can help ( such as or this, just to name a couple )

    I think that
    Simba Code:
    GetTextAtEx(const xs,ys,xe,ye, minvspacing, maxvspacing, hspacing,color, tol: integer;const font: string): string;
    means, we're getting our text within a box xs, ys, xe, ye, and our minimum vertical spacing (usually 0), and our maximum vertical spacing (20 should suffice), and our height spacing (0), our text's color (some drawn out integer, such as/example 16777215), and the color's tolerance (try 15, 20, or if the text color never changes, 0), all in which returns us a string / our text. Hope this helps

  3. #3
    Join Date
    Oct 2011
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    thanx for the reply but the docs don't explain how to use,
    and the search results give no help

  4. #4
    Join Date
    Feb 2012
    Location
    Wonderland
    Posts
    1,988
    Mentioned
    41 Post(s)
    Quoted
    272 Post(s)

    Default

    Well I pretty much explained everything you need to enter for the function, what are you not understanding?

  5. #5
    Join Date
    Oct 2011
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    could you post a example of it finding text in the chat box in rs

  6. #6
    Join Date
    Feb 2012
    Location
    Wonderland
    Posts
    1,988
    Mentioned
    41 Post(s)
    Quoted
    272 Post(s)

    Default

    Quote Originally Posted by romy View Post
    could you post a example of it finding text in the chat box in rs
    Simba Code:
    Program New;
      {$DEFINE SRL5}
      {$i SRL/srl.simba}

    Begin
      SetupSRL;
      //Writes white coloured SmallChars font, in the chatbox:
      WriteLn(GetTextAtExWrap(MCX1, MCY1, MCX2, MCY2, 0, 20, 0, 16777215, 15, 'SmallChars'));
    End.

  7. #7
    Join Date
    Oct 2011
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    thanx i found another way

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
  •