Jump to content

Recommended Posts

Posted

Hi,

I want to make a script which press "1" and after 0,5s the right mouse button but more than pressing the "1" I'm too newbie.

So I hope you could help me.

Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{END}", "Terminate")
While Send("{1}")
Sleep(3200)
WEnd
Func TogglePause()
   $Paused = NOT $Paused
   While $Paused
       sleep(100)
       ToolTip('Script is "Paused"',0,0)
   WEnd
   ToolTip("")
EndFunc

Func Terminate()
   Exit 0
EndFunc

I would be pleased when you don't write so much, my english isn't the best...

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
  • Recently Browsing   0 members

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