BunionClad Posted December 1, 2011 Share Posted December 1, 2011 Hello I need help trying to make a holding mouse click macro and not using tape. I have an existing macro would let me click while having a pause key. How might a modify this to do holding left clicks instead? Sleep(5000); Global $Paused HotKeySet ("{PAUSE}","TogglePause") While 1 < 2; MouseClick("left"); MouseClick("left"); MouseClick("left"); MouseClick("left"); MouseClick("left"); MouseClick("left"); MouseClick("left"); MouseClick("left"); MouseClick("left"); Sleep(100); WEnd Func TogglePause($Paused) $Paused = NOT $Paused While $Paused Sleep(1000) ToolTip('Script Is "Paused"',0,0) WEnd ToolTip("") EndFunc Link to comment Share on other sites More sharing options...
somdcomputerguy Posted December 1, 2011 Share Posted December 1, 2011 Look what I found in the Helpfile. MouseDown - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
BunionClad Posted December 1, 2011 Author Share Posted December 1, 2011 Thank you now i have a working holding left click macro. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now