 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
heyheykuk Guest
|
Posted: Thu Jan 28, 2010 1:14 pm Post subject: Rapid clicking script need help:) |
|
|
hey 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 ? i dont have a clue about making scripts |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Jan 28, 2010 6:53 pm Post subject: Re: Rapid clicking script need help:) |
|
|
| heyheykuk wrote: | hey 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 ? 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
|
Posted: Thu Jan 28, 2010 8:24 pm Post subject: Re: Rapid clicking script need help:) |
|
|
| Anonymous wrote: | | heyheykuk wrote: | hey 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 ? 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
|
Posted: Fri Jan 29, 2010 2:07 am Post subject: Re: Rapid clicking script need help:) |
|
|
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
|
Posted: Fri Jan 29, 2010 2:53 am Post subject: |
|
|
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 |
|
 |
heyheykuk Guest
|
Posted: Fri Jan 29, 2010 6:57 am Post subject: |
|
|
| 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  |
|
| Back to top |
|
 |
heyheykuk Guest
|
Posted: Fri Jan 29, 2010 6:58 am Post subject: Re: Rapid clicking script need help:) |
|
|
| 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  |
|
| Back to top |
|
 |
geekdude
Joined: 23 Nov 2009 Posts: 64
|
Posted: Fri Jan 29, 2010 2:21 pm Post subject: |
|
|
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 |
|
 |
Guest
|
Posted: Fri Jan 29, 2010 3:02 pm Post subject: |
|
|
| 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 |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|