Jump to content

Can somebody help me


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
    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.

Musashi-C64.png

"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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...