Jump to content
Sign in to follow this  
wuduheo

help with error in script

Recommended Posts

wuduheo

HotKeySet("MouseClick("left")") ;wait for ALT-a keystroke, then go to Main()
While 1 ;loop forever to wait for the keypress
Send("{! down}")
Send("{MouseClick("right") down}")
Send("{MouseClick("right") up}")
Send("{! up}")

so i am trying to have a script that holds down ctrl and right clicks everytime i left click.

the problem is i have no idea what it wrong with the script, after i compiled it an error shows up.

haha sorry, im new

Share this post


Link to post
Share on other sites
Authenticity

Check out the help file for the function _IsPressed() and check for a left mouse click in a loop. Search the forum.

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  

×