Results 1 to 6 of 6

Thread: Simple Request

  1. #1
    Join Date
    Sep 2007
    Location
    USA
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Simple Request

    I don't know why I can't figure this one out, but I just need a simple script that auto-clicks for me where I move my mouse. Here is what I have so far...


    program New;

    procedure Autoclick;
    begin
    if(isfkeydown(9)) then
    begin
    repeat
    clickmouse(true)
    wait(1000)
    until(isfkeydown(10)
    end.


    Of course the clickmouse doesn't work without chords though, but I just want it to work without them. When I press F9, I want to be able to move my mouse by myself, freely, as it clicks once per second. F10 will stop the clicking. Thanks in advance!

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

    Default

    This should do the trick!

    SCAR Code:
    Program bla;

    var x,y:integer;

    begin
      repeat
      if(isfkeydown(9)) then
      begin
        repeat
        GetMousePos(x,y);
        clickmouse(x,y,true);
        wait(1000);
        until(isfkeydown(10));
      end;
      Until(False);
    end.

  3. #3
    Join Date
    Sep 2007
    Location
    USA
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    That's how you do it, ha, I remember now. Thanks!

  4. #4
    Join Date
    Sep 2007
    Location
    USA
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hmm, is there anyway to avoid the mouse from moving by itself when you decrease the clickspeed to something like (10)?

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

    Default

    Explain what you want better please?
    You can do something like

    SCAR Code:
    GetMousePos(x,y);
    HoldMouse(x,y,true);
    Wait(100);
    ReleaseMouse(x,y,true);

  6. #6
    Join Date
    Sep 2007
    Location
    USA
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Doesn't work. :\ The mouse ghost moves by itself when it's clicking at a high rate.

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
  •