Jump to content
Sign in to follow this  
Anth

I must be an idiot or something.

Recommended Posts

Anth

How do I make a loop to send SHIFT over and over to activate sticky keys?

And how to I make an exit hotkey to exit the script?

I don't want someone to write it out for me, rather push me in the right direction. o.O

Help is appreciated, thanks in advance.

Share this post


Link to post
Share on other sites
Anth

I can't figure out how to edit, so I'm posting again.

Another thing I need help with is making the script able to be paused/resumed? :S

I found a tutorial for the pause/resume, how do I make the script start paused?

Edited by Anth

Share this post


Link to post
Share on other sites
cageman

HotKeySet("{HOME}", "Start")
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{END}", "stop")

Global $Paused

while 1
sleep(100)
Wend

Func Start()
Send("{SHIFTDOWN}")

EndFunc

Func TogglePause()
Send("{SHIFTUP}")
$Paused = NOT $Paused
While $Paused
sleep(100)
WEnd
Send("{SHIFTDOWN}")
EndFunc

Func Stop()
Send("{SHIFTUP}")
Exit
Endfunc

it should be something like this. Just test and adjust it a bit. Hopefully i understood you right.

Edited by cageman

Share this post


Link to post
Share on other sites
Anth

HotKeySet("{HOME}", "Start")
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{END}", "stop")

Global $Paused

while 1
sleep(100)
Wend

Func Start()
Send("{SHIFTDOWN}")

EndFunc

Func TogglePause()
Send("{SHIFTUP}")
$Paused = NOT $Paused
While $Paused
sleep(100)
WEnd
Send("{SHIFTDOWN}")
EndFunc

Func Stop()
Send("{SHIFTUP}")
Exit
Endfunc

it should be something like this. Just test and adjust it a bit. Hopefully i understood you right.

Thank you :blink:

How do I make a mouseclick not click at a specific place, just click in general?

MouseClick("button", X, Y, CLICKS, SPEED)

I've tried leaving X Y blank, also tried doing empty quotes, and they don't work. Is it possible even?

Edited by Anth

Share this post


Link to post
Share on other sites
cageman

Mouseclick("left") should work

Share this post


Link to post
Share on other sites
Anth

Mouseclick("left") should work

It does, but not in the way that I need, I need it to click slower than what it does, Mouseclick("left") clicks beyond my slow computers comprehension and causes it to freeze.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×