Jump to content

Recommended Posts

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

Func HotKeyPressed()
    Switch @HotKeyPressed ; The last hotkey pressed.
        Case "{ESC}"

        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)

            ToolTip('Send "3"', 100, 100, '', 1, 1)


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 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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...