Jump to content
Sign in to follow this  
GianAutoitprogrammer

how to combine two hotkeys?

Recommended Posts

Hellow I will ask a very simple question about Hotkeys

I dont know how to HotkeySet("{UP}{left}", "Upandleft")

Global $paused
HotKeySet("{UP}{Left}", "upandleft"
While 1

    Sleep(100)
WEnd

Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0)
    WEnd
    ToolTip("")
EndFunc

Func Terminate()
    Exit 0
EndFunc

Func UpandLeft ()
Msgbox(64, "Upandleft", "Up and left pressed!")
EndFunc

Share this post


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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...