Results 1 to 3 of 3

Thread: Another problem... text finding

  1. #1
    Join Date
    Sep 2008
    Location
    New Zealand
    Posts
    157
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Another problem... text finding

    Hey as I said in my last topic I am making a poh alching script and the way I am checking whether I am in my house or not is by going to the tool tab, selecting house options icon and then clicking expel guests. I want to search for the Expel Guests ('xpel') text and then click the button but the text is an orange so I am not sure what colour to use (or font for that matter) in:

    SCAR Code:
    FindTextTPAEx(ClOrange, 30, 590, 345, 697, 372, x, y, 'xpel', SmallChars, Nothing);

    If you think this method of finding the button is unneccesary or that I could check if I'm in my house a better way then please say I would love to know!

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

    Default

    function FindText(var cx, cy: Integer; txt: String; font, xs, ys, xe, ye: Integer): Boolean;
    By: Stupid3ooo
    Description:
    Searches for text in specified box with specified font.
    or a simple coordinate with high randomness should do it.
    [QUOTE]<GoF`> oh no its Raymooond
    <Raymooond> Heya
    <GoF`> is it ray or some other ray?
    <LeeLokHin> No idea
    <LeeLokHin> Raymond, what's the game you like the most?
    <Raymooond> Runescape
    <-- LeeLokHin has kicked Raymooond from #srl (Faker.)[/QUOTE]

  3. #3
    Join Date
    Sep 2008
    Location
    New Zealand
    Posts
    157
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks Lee, I am using more advanced methods when possible as this script is as more for teaching me how to script than it is for actually alching!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help finding GE Item Text
    By Bad Processor in forum OSR Help
    Replies: 9
    Last Post: 10-30-2008, 12:04 PM
  2. Help with finding text
    By AzulDrake in forum OSR Help
    Replies: 2
    Last Post: 09-26-2008, 02:31 PM
  3. Need Help With finding text!
    By Macrosoft in forum OSR Help
    Replies: 16
    Last Post: 08-13-2007, 08:42 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
  •