Mouse Clicker

Discussion in 'Code Snippets and Tutorials' started by pandahorde, Jun 1, 2007.

  1. pandahorde

    pandahorde Level IV

    Joined:
    Dec 17, 2006
    Messages:
    2,249
    Likes Received:
    17
    Location:
    "MANILA ZOO"
    well i cant successfully work on simple mouse clicker...


    program MouseClicker;

    Code (Text):
    1. begin
    2.    wait(2000)
    3.       clickmouse(443,355,true);
    4.    until(false)
    5. end.

    it dosent work..

    it says identifier is expected or something.
     
  2. Billy

    Billy Level IV

    Joined:
    Feb 21, 2007
    Messages:
    1,856
    Likes Received:
    39
    the code is this.

    Code (Text):
    1. wait(2000)
    2. clickmouse(x, y, true);
    idk why you have until false cause you dont have a repeat in the code.
     
  3. chelsea1

    chelsea1 Level IV

    Joined:
    Nov 26, 2006
    Messages:
    2,538
    Likes Received:
    31
    Location:
    London
    Code (Text):
    1. program mouseclicker;
    2. begin
    3. repeat
    4.    wait(2000)
    5.       clickmouse(443,355,true);
    6.    until(false)
    7. end.

    that should work
     
  4. pandahorde

    pandahorde Level IV

    Joined:
    Dec 17, 2006
    Messages:
    2,249
    Likes Received:
    17
    Location:
    "MANILA ZOO"
    thx chealsea1 good... it helps .and it works now