Sign in to follow this  
Followers 0
homer1491

Some very small script

5 posts in this topic

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



So yes its not more because I can't more... what I've writen is what I want to have.

Share this post


Link to post
Share on other sites

Send("1")
Sleep(500)
MouseClick("right")
Thank you

thats realy easy but I've never seen this command in other scripts...

~Thread can get closed~

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  
Followers 0