Splitz Posted July 31, 2006 Share Posted July 31, 2006 Global $Paused HotKeySet("{END}", "TogglePause") HotKeySet("{Del}", "Terminate") While 1 Sleep(100) WEnd Func TogglePause() $Paused = NOT $Paused While $Paused MouseDown("Right") Send("{LShift}") Send("{f1}") Send("{f2}") WEnd EndFunc Func Terminate() Exit 0 EndFunc when i hit the END key i want it to, hold down left shift hold down right mouse button press f1 press f2 i want it to just do this 1 time right now the script rapidly spams them over and over once i press end and i have to press end again to make it stop so what do i change to make it just do the script 1 time when i press end and also make it hold down Lshift Link to comment Share on other sites More sharing options...
Don N Posted July 31, 2006 Share Posted July 31, 2006 (edited) HotKeySet("{END}", "TogglePause") HotKeySet("{Del}", "Terminate") While 1 Sleep(100) WEnd Func TogglePause() MouseDown("Right") Send("{LSHIFT down}") Send("{f1}") Send("{f2}") Send("{LSHIFT up}") MouseUp( "Right" ) EndFunc Func Terminate() Exit 0 EndFunc lemme know if that works EDIT: forgot one line Edited July 31, 2006 by Don N _____________________________________________________"some people live for the rules, I live for exceptions"Wallpaper Changer - Easily Change Your Windows Wallpaper Link to comment Share on other sites More sharing options...
Splitz Posted July 31, 2006 Author Share Posted July 31, 2006 yea thanks it works 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