AutoHotkey Community

It is currently May 26th, 2012, 5:34 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: April 18th, 2009, 12:39 am 
Offline

Joined: April 18th, 2009, 12:31 am
Posts: 1
This script lets you have a rapid fire mouse. Pressing the right shift key will turn it on/off.

Code:
#NoEnv
#SingleInstance Force
SetTitleMatchMode 2
#Persistent
DetectHiddenWindows, On
sendMode Input
#InstallKeybdHook
#InstallMouseHook
SetDefaultMouseSpeed, 0
SetMouseDelay, -1
SetKeyDelay, -1
SetWinDelay, -1
SetBatchLines, -1
SetControlDelay -1
#MaxThreads 30
#MaxHotKeysPerInterval 1000
#MaxThreadsBuffer on
#KeyHistory 0

~*LButton::
loop
{ GetKeyState, LButtonState, LButton, P
GetKeyState, RShift, RShift, T

if (LButtonState = "U") || (RShift = "U")
   {
      ; send {Click}6 break
   }
      else
   { send {click down} send {click up}
   }

   }

Return


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 18th, 2009, 6:56 am 
Offline

Joined: June 25th, 2008, 6:56 pm
Posts: 18
Location: England
y the long script 4 an autoclicker?;..

Code:
Ins::Suspend
LButton::
Loop
{
SetMouseDelay 30
Click
If (GetKeyState("LButton","P")=0)
Break
}


Report this post
Top
 Profile  
Reply with quote  
PostPosted: April 20th, 2009, 10:08 pm 
philskilz wrote:
y the long script 4 an autoclicker?;..

Code:
Ins::Suspend
LButton::
Loop
{
SetMouseDelay 30
Click
If (GetKeyState("LButton","P")=0)
Break
}


Report this post
Top
  
Reply with quote  
PostPosted: April 20th, 2009, 11:03 pm 
Offline

Joined: June 25th, 2008, 6:56 pm
Posts: 18
Location: England
Smackomatic wrote:
philskilz wrote:
y the long script 4 an autoclicker?;..

Code:
Ins::Suspend
LButton::
Loop
{
SetMouseDelay 30
Click
If (GetKeyState("LButton","P")=0)
Break
}


erm u change "Ins" to "o" lol ...


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher, XX0 and 12 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group