Jump to content

I must be an idiot or something.


Recommended Posts

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...