Results 1 to 7 of 7

Thread: isuptext problem

  1. #1
    Join Date
    Mar 2007
    Posts
    40
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default isuptext problem

    if isuptext('ine') then
    begin

    end;
    anyways the above doesn't manage to find "ine" in "Mine"..I'm trying to make it automine..but it never manages to find the text.. help?

  2. #2
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Is there code in between "begin" and "end;"?

  3. #3
    Join Date
    Mar 2007
    Posts
    40
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah,
    Code:
    writeln('found text');
    mouse(x,y,0,0,false);
    wait(100+random(500));
    ChooseOption(x, y, 'ocks');
    doing:=true;
    done:=done+1;
    But I doubt that matters. The fact is it hovers over a rock, but doesn't see the "Mine rocks" text..So I haven't even been able to test if everything after it finds the text works or not, but it would have done the whole writeln thing so I know it would've worked..

  4. #4
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    True. Perhaps you didn't target the RS window? That's the only thing I can think of.

  5. #5
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Heh... I know!

    SetupSRL;

    I love it when people forget that
    Interested in C# and Electrical Engineering? This might interest you.

  6. #6
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Heh

  7. #7
    Join Date
    Mar 2007
    Posts
    40
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Jason was right, rs window wasn't set

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. IsUpText Help
    By Electron Man in forum OSR Help
    Replies: 4
    Last Post: 11-15-2007, 11:03 PM
  2. IsUpText.
    By kooldude in forum OSR Help
    Replies: 7
    Last Post: 06-08-2007, 06:13 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
  •