svenkaasmaqn Posted October 17, 2020 Share Posted October 17, 2020 i want to that when i click on r keybind r and 3 but with a 0.2 second delay so first r than 3 Link to comment Share on other sites More sharing options...
Musashi Posted October 17, 2020 Share Posted October 17, 2020 5 hours ago, svenkaasmaqn said: i want to that when i click on r keybind r and 3 but with a 0.2 second delay, so first r than 3 HotKeySet("{ESC}", "HotKeyPressed") HotKeySet("r", "HotKeyPressed") While True Sleep(100) WEnd Func HotKeyPressed() Switch @HotKeyPressed ; The last hotkey pressed. Case "{ESC}" ToolTip("") Exit Case "r" ToolTip('Send "r"', 50, 50, '', 1, 1) ; Delay of 3 seconds for the effect to become visible (can later be reduced to 200 ms) Sleep(3000) ToolTip('Send "3"', 100, 100, '', 1, 1) Sleep(3000) ToolTip("") EndSwitch EndFunc ;==>HotKeyPressed By the way : Please provide a more detailed description of what you want to achieve. "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." 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