Some random question... on IsTextInArea

Discussion in 'Code Snippets and Tutorials' started by zav75, Mar 3, 2007.

  1. zav75

    zav75 Level I

    Joined:
    Feb 28, 2007
    Messages:
    76
    Likes Received:
    6
    Location:
    Canada, Province of Québec
    hello,
    I was making a script, and the compiler tells me that IsTextInArea(160,411,195,425,'Next')
    is not the good way it must be used.

    I searched in many guide/tuturial but nothing on this fonction
    if you have the anwser or have some tutorial that explain...
     
  2. the_skip

    the_skip Level IV

    Joined:
    Dec 25, 2006
    Messages:
    2,354
    Likes Received:
    1
    Location:
    Indiana
    why is there four commans if it sepperates the thousands then remove them
     
  3. Anonymous

    Anonymous Guest

    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; - Searches for text in area specified by x1, y1, x2, y2. Other parameters match IsTextAtEx.

    file:///C:/Program%20Files/SCAR%202.03/Help/manual.htm#program

    ftw.
     
  4. zav75

    zav75 Level I

    Joined:
    Feb 28, 2007
    Messages:
    76
    Likes Received:
    6
    Location:
    Canada, Province of Québec
    I've said I've already looked in theses manuals. But thanks for helping.
     
  5. dragonlord

    dragonlord Newbie

    Joined:
    Feb 28, 2007
    Messages:
    10
    Likes Received:
    0
    Tell the script what the 'Next' looks like, just putting the script in and running it makes it think its looking for the RSC font (runescape classic)
     
  6. zav75

    zav75 Level I

    Joined:
    Feb 28, 2007
    Messages:
    76
    Likes Received:
    6
    Location:
    Canada, Province of Québec
    You mean just serach for a bitmap?

    You mean something else, I guesse but I don't understand whats you mean by "Tell the script what 'Next' look, because Nest is a simple string, not a bitmap.

    Thanks for help, I'm sure we'll find the anwser !