AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Rapid clicking script need help:)

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
heyheykuk
Guest





PostPosted: Thu Jan 28, 2010 1:14 pm    Post subject: Rapid clicking script need help:) Reply with quote

hey Smile i found this script on the net
Ins::Suspend
LButton::
Loop
{
SetMouseDelay 30
Click
If (GetKeyState("LButton","P")=0)
Break
}

and i use it for games, but if i hold left ctrl or left shift it dont work, can anyone fix this ? Very Happy i dont have a clue about making scripts
Back to top
Guest






PostPosted: Thu Jan 28, 2010 6:53 pm    Post subject: Re: Rapid clicking script need help:) Reply with quote

heyheykuk wrote:
hey Smile i found this script on the net
Ins::Suspend
LButton::
Loop
{
SetMouseDelay 30
Click
If (GetKeyState("LButton","P")=0)
Break
}

and i use it for games, but if i hold left ctrl or left shift it dont work, can anyone fix this ? Very Happy i dont have a clue about making scripts


The LButton is the left mouse button, Not ctrl or shift... If you want it to be a different button you need to replace the LButton with whatever you intend it to be or else just hold your left mouse button.
Back to top
heyheykuk
Guest





PostPosted: Thu Jan 28, 2010 8:24 pm    Post subject: Re: Rapid clicking script need help:) Reply with quote

Anonymous wrote:
heyheykuk wrote:
hey Smile i found this script on the net
Ins::Suspend
LButton::
Loop
{
SetMouseDelay 30
Click
If (GetKeyState("LButton","P")=0)
Break
}

and i use it for games, but if i hold left ctrl or left shift it dont work, can anyone fix this ? Very Happy i dont have a clue about making scripts


The LButton is the left mouse button, Not ctrl or shift... If you want it to be a different button you need to replace the LButton with whatever you intend it to be or else just hold your left mouse button.


yes but the Lbutton stops repeating if i hold down ctrl or shift, thats my problem:)
Back to top
Guest






PostPosted: Fri Jan 29, 2010 2:07 am    Post subject: Re: Rapid clicking script need help:) Reply with quote

Then how about this
Code:

Ins::Suspend
LButton::
Loop
{
   GetKeyState, lcstate, LControl
   GetKeyState, lsstate, LShift
   
   If lcstate = D
   {
      Send, {Control}
   }
      If lsstate = D
   {
      Send, {Shift}
   }
SetMouseDelay 30
Click
If (GetKeyState("LButton","P")=0)
Break
}
Back to top
geekdude



Joined: 23 Nov 2009
Posts: 64

PostPosted: Fri Jan 29, 2010 2:53 am    Post subject: Reply with quote

i have a script that can help you, but you arent putting any effort into it.
as you can see, thisis an ask for help, not an ask for script. if you will look int the manual that comes along with the program, it explains quite easily in the "hotkeys section"

i am going to show you another version of this script as well.
Code:

ins::suspend
lbutton::settimer,click,30; when you press the left mouse button, you start a timer to click
lbutton up::settimer,click,off; when you release the left mouse button, you will turn off the clicking timer
click:
click; as this is the end of the code, return is not needed here


and btw, post code in code tags
_________________
  /\ /\ This is Kitty
(>';'<) Cut, copy, and paste kitty onto your sig.
((")(")) Help Kitty gain World Domination.

(\__/) This is Bunny.
(='.'=) Cut, copy, and paste bunny onto your sig.
(")_(") Help Bunny gain World Domination.
Back to top
View user's profile Send private message
heyheykuk
Guest





PostPosted: Fri Jan 29, 2010 6:57 am    Post subject: Reply with quote

geekdude wrote:
i have a script that can help you, but you arent putting any effort into it.
as you can see, thisis an ask for help, not an ask for script. if you will look int the manual that comes along with the program, it explains quite easily in the "hotkeys section"

i am going to show you another version of this script as well.
Code:

ins::suspend
lbutton::settimer,click,30; when you press the left mouse button, you start a timer to click
lbutton up::settimer,click,off; when you release the left mouse button, you will turn off the clicking timer
click:
click; as this is the end of the code, return is not needed here


and btw, post code in code tags


doesnt work Sad
Back to top
heyheykuk
Guest





PostPosted: Fri Jan 29, 2010 6:58 am    Post subject: Re: Rapid clicking script need help:) Reply with quote

Anonymous wrote:
Then how about this
Code:

Ins::Suspend
LButton::
Loop
{
   GetKeyState, lcstate, LControl
   GetKeyState, lsstate, LShift
   
   If lcstate = D
   {
      Send, {Control}
   }
      If lsstate = D
   {
      Send, {Shift}
   }
SetMouseDelay 30
Click
If (GetKeyState("LButton","P")=0)
Break
}

doesnt work Sad
Back to top
geekdude



Joined: 23 Nov 2009
Posts: 64

PostPosted: Fri Jan 29, 2010 2:21 pm    Post subject: Reply with quote

you need to read this to get your answer. (hint, it is a key modifier thingy you need to put before the keys)
_________________
  /\ /\ This is Kitty
(>';'<) Cut, copy, and paste kitty onto your sig.
((")(")) Help Kitty gain World Domination.

(\__/) This is Bunny.
(='.'=) Cut, copy, and paste bunny onto your sig.
(")_(") Help Bunny gain World Domination.
Back to top
View user's profile Send private message
Guest






PostPosted: Fri Jan 29, 2010 3:02 pm    Post subject: Reply with quote

Just wondering but what did you do to actually test these because they both work for me while pressing Ctrl and shit except for mine if you press the right ones it doesn't cuz I forgot to add those two in.
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group