gstromg Posted January 15, 2007 Posted January 15, 2007 Hello, I do not know too much about scripting but essentially I just need to know the variable or "key name" for right clicking my mouse. Basically here is the code I want to change: CODEHotKeySet("{PAUSE}", "Start") HotKeySet("!{PAUSE}","Quit") TogglePause() func Start() HotKeySet("{PAUSE}") HotKeySet("{PAUSE}", "TogglePause") ToolTip('Spacebar started.',0,0) While 1 Send("{Space}") Sleep(Random(12000,24000)) WEnd EndFunc Func TogglePause() ToolTip('AntiAFK Stopped.',0,0) HotKeySet("{PAUSE}") HotKeySet("{PAUSE}", "Start") While 1 sleep(100) WEnd EndFunc func Quit() Exit EndFunc Now do I just change the "{Space}" to "{Right Click}"? I tried that and it didn't seem to work.
Vindicator209 Posted January 15, 2007 Posted January 15, 2007 I have no idea what your asking, but I suupose you want to know how to right click, and that would be MouseClick("Right").... [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]
xcal Posted January 15, 2007 Posted January 15, 2007 He'll likely want _IsPressed(). How To Ask Questions The Smart Way
James Posted January 15, 2007 Posted January 15, 2007 Which requiresw you to use: #include <Misc.au3> Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
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