Jump to content
Sign in to follow this  
homer1491

Some very small script

Recommended Posts

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...

Share this post


Link to post
Share on other sites

Well you did post some code, but it has nothing to do with what you are asking for....

Your talking about mouse input, and your script is nothing more than a way to make something pause. No offense, but did you even write this?

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  

×
×
  • Create New...