Jump to content
Sign in to follow this  
homer1491

Some very small script

Recommended Posts

homer1491

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
homer1491

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
herewasplato

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


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
homer1491

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  

×