Results 1 to 12 of 12

Thread: Reading Text

  1. #1
    Join Date
    Apr 2007
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Reading Text

    I know that there is a code that looks for text on the targeted application. Could someone please tell me how this is done?

  2. #2
    Join Date
    Dec 2006
    Location
    Ky
    Posts
    390
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What exactly do you mean? Reading text in a set location?
    SUMMER BREAK be back when I want to

  3. #3
    Join Date
    Apr 2007
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hmm,Like what i mean is it will for example you know how when you ask it to find a bitmap, then you give cords. Well, Like that but finding text.

  4. #4
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    function GetTextAtEx(x, y: Integer; Tolerance: Integer; Chars: Integer; CheckShadow, CheckOutline: Boolean; MinSpacing, MaxSpacing: Integer; TextColor: Integer; TextLength: Integer; Strict: Boolean; Range: TCharRange) : String;
    This will get the text.

    SCAR Code:
    function IsTextInAreaEx(x1, y1, x2, y2: Integer; var x, y: Integer; S: String; Tolerance: Integer; Chars: Integer; CheckShadow, CheckOutline: Boolean; MinSpacing, MaxSpacing: Integer; TextColor: Integer) : Boolean;
    This will find for text from area you want.

  5. #5
    Join Date
    Apr 2007
    Location
    Finland
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  6. #6
    Join Date
    Apr 2007
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Can you expalin this to me I dont quite understand this

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

    Just like what it all means.

  7. #7
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Open up SCAR press F1...

  8. #8
    Join Date
    Apr 2007
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm not at my home computer but may you please explain to we what that does?

  9. #9
    Join Date
    Feb 2007
    Location
    USA
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    f1 opens the help manual on many programs.

  10. #10
    Join Date
    Apr 2007
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I C, Thanks.

  11. #11
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by PwNZoRNooB View Post
    And "IsUpText" will check the left corner

    And isn't there a own command to search the chat, like "InChat"?
    yes it InChat...but what does that have to do with his ?

  12. #12
    Join Date
    Apr 2007
    Location
    Finland
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Grabbing or reading Text from a game text box
    By British in forum OSR Help
    Replies: 16
    Last Post: 02-27-2009, 08:02 AM
  2. Text Reading
    By noobmaster in forum OSR Help
    Replies: 7
    Last Post: 05-26-2008, 02:05 PM
  3. Reading text
    By aran armath in forum OSR Help
    Replies: 2
    Last Post: 12-31-2007, 07:12 PM
  4. Reading Text
    By Ransom in forum OSR Help
    Replies: 5
    Last Post: 11-17-2006, 04:38 AM

Posting Permissions

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