the_man Posted November 3, 2005 Share Posted November 3, 2005 is there any hotkey to start this scrtip? hotkeyset("!+^9", "Lemmego");strg+alt+shift+9 Sleep(2000) while 1 MouseClick ( "left", 238, 297, 2) Sleep(500) MouseClick ( "left", 313, 221, 2) Sleep(11000) wend func Lemmego() exit endfunc Thanks, any key is good enough.. Link to comment Share on other sites More sharing options...
LxP Posted November 3, 2005 Share Posted November 3, 2005 The easiest way is via a Windows shortcut.Right-click the script and select Copy.Right-click the desktop and select Paste Shortcut.Right-click the shortcut and select Properties.Adjust the shortcut key and click OK. Link to comment Share on other sites More sharing options...
Nuffilein805 Posted November 3, 2005 Share Posted November 3, 2005 (edited) if you want a hotkey to start your script you've got to have a second script waiting for the hotkey to start your script this would look like this: hotkeyset("!+^8", "StartmyScript");ctrl+alt+shift+8 while 1 sleep (1000) wend func StartmyScript() run ("Here is your script to run") exit endfunc this way the script ends when you press the hotkey, but starts you other 1 first if you don't want it to end just remove the "exit" i suggest you put this 1 to your autostart and you can do whatever you like maybe you want another thing to do like just starting your loop from within your script hotkeyset("!+^8", "StartmyScript") hotkeyset("!+^9", "Lemmego");strg+alt+shift+9 while 1 sleep (1000) wend func StartmyScript() Sleep(2000) while 1 MouseClick ( "left", 238, 297, 2) Sleep(500) MouseClick ( "left", 313, 221, 2) Sleep(11000) wend endfunc func Lemmego() exit endfunc Edited November 3, 2005 by Nuffilein805 my little chatmy little encryption toolmy little hidermy unsafe clickbot 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