| View previous topic :: View next topic |
| Author |
Message |
Kimmi
Joined: 21 Nov 2009 Posts: 5
|
Posted: Sat Nov 21, 2009 2:19 pm Post subject: how to add start/stop on clicker |
|
|
I got this:
Loop
{
Click
Sleep, 200
}
But how do get a start/stop function with this... ie using numlock or any other key... dont really matter. |
|
| Back to top |
|
 |
Guest
|
Posted: Sat Nov 21, 2009 4:20 pm Post subject: |
|
|
| check help file on Pause, just use it as a hotkey |
|
| Back to top |
|
 |
jaco0646
Joined: 07 Oct 2006 Posts: 1770 Location: MN, USA
|
|
| Back to top |
|
 |
Kimmi
Joined: 21 Nov 2009 Posts: 5
|
Posted: Sun Nov 22, 2009 12:02 am Post subject: |
|
|
| Code: |
^!p::Pause
Loop
{
Click
Sleep, 200
}
|
I tryed this and buch of other pause keys but it doesnt seem to work, now the script wont start at all... what am I missing here? |
|
| Back to top |
|
 |
Guest
|
Posted: Sun Nov 22, 2009 12:09 am Post subject: |
|
|
hotkeys go at the end
| Code: |
Loop
{
Click
Sleep, 200
}
^!p::Pause
|
|
|
| Back to top |
|
 |
Kimmi
Joined: 21 Nov 2009 Posts: 5
|
Posted: Thu Nov 26, 2009 4:24 pm Post subject: |
|
|
| Anonymous wrote: | hotkeys go at the end
| Code: |
Loop
{
Click
Sleep, 200
}
^!p::Pause
|
|
well this didnt pause for me.
What is wrong ?? |
|
| Back to top |
|
 |
Vade
Joined: 14 Jun 2008 Posts: 5
|
Posted: Thu Nov 26, 2009 6:32 pm Post subject: |
|
|
SetTimer will do the job.
| Code: | ^s::setTimer, Clicker, 200 ;start
^p::setTimer, Clicker, off ;pause
Clicker:
click
return
|
|
|
| Back to top |
|
 |
Kimmi
Joined: 21 Nov 2009 Posts: 5
|
Posted: Thu Nov 26, 2009 7:13 pm Post subject: |
|
|
| Vade wrote: | SetTimer will do the job.
| Code: | ^s::setTimer, Clicker, 200 ;start
^p::setTimer, Clicker, off ;pause
Clicker:
click
return
|
|
Thanx, I just tryed it but I didnt work, Im a little confused tho, do you meen I should add this to my initial code, or just use the one you gave me. |
|
| Back to top |
|
 |
Vade
Joined: 14 Jun 2008 Posts: 5
|
Posted: Fri Nov 27, 2009 12:14 am Post subject: |
|
|
| Kimmi wrote: | | Thanx, I just tryed it but I didnt work, Im a little confused tho, do you meen I should add this to my initial code, or just use the one you gave me. |
Just the one I gave you. SetTimer replaces the Loop. |
|
| Back to top |
|
 |
Kimmi
Joined: 21 Nov 2009 Posts: 5
|
Posted: Sat Nov 28, 2009 1:11 pm Post subject: |
|
|
| Vade wrote: | | Kimmi wrote: | | Thanx, I just tryed it but I didnt work, Im a little confused tho, do you meen I should add this to my initial code, or just use the one you gave me. |
Just the one I gave you. SetTimer replaces the Loop. |
then I must be doing something wrong... whats the command to start stop?
ctrl+s and ctrl+p ? |
|
| Back to top |
|
 |
|