Results 1 to 6 of 6

Thread: How to find this text?

  1. #1
    Join Date
    Oct 2011
    Posts
    805
    Mentioned
    21 Post(s)
    Quoted
    152 Post(s)

    Default How to find this text?

    I would try to FindText in ChatBox ,but what font is it?


  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    If you just want to know weather or no that screen is up, just use a getcolor. I think that black color of the text is always 0, so you can just use
    Simba Code:
    If GetColor(234, 234) = 0 Then
    TypeSend('28')
    something like that.

    Didn't really answer your question , but that is a fast and easy way to detect if the screen is up.

  3. #3
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    get text at..

    execregexpr('', textugot)
    I am Ggzz..
    Hackintosher

  4. #4
    Join Date
    Oct 2011
    Posts
    805
    Mentioned
    21 Post(s)
    Quoted
    152 Post(s)

    Default

    @YoHoJo
    Yes ,but chat box is usually filled with text ,wich can mess it up. Other similar thing is to use DTM ,but I would like to avoid them.
    @ggzz

    But GetTextAt still need font name.

  5. #5
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Simba Code:
    {$I SRL/SRL.Simba}

    Function Find: Boolean;
    var
      str: String;
    begin
      str:= GetTextAtExWrap(353, 338, 604, 355, 0, 5, 2, 0, 20, 'UpcharsEx');
      result:= ExecRegExpr('ithdraw', str);
    end;

    begin
      setupsrl;
      find;
    end.
    I am Ggzz..
    Hackintosher

  6. #6
    Join Date
    Oct 2011
    Posts
    805
    Mentioned
    21 Post(s)
    Quoted
    152 Post(s)

    Default

    Thx ,UpcharsEx works

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
  •