Sign in to follow this  
Followers 0
GianAutoitprogrammer

how to combine two hotkeys?

4 posts in this topic

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



HotKeySet("{UP}+{Left}", "upandleft")


#include <ByteMe.au3>

Share this post


Link to post
Share on other sites

@sleepydvdr tnx :huh2:

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Perhaps this too will help, Also read about the <b>@HotKeyPressed</b> macro here, HotKeySet.<br>

Edited by somdcomputerguy

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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  
Followers 0