Hawkysoft Posted August 19, 2013 Share Posted August 19, 2013 (edited) Ok, I've searched again my butt off on the web, and therefor asking it here.... I want to add custom hotkeys which a user can set themself to start applications Since I done so much research about this, even on the forum I'm sure this question will be frowned upon. However I don't need a continues check on input, just a single one and even better a combination of ones e.a. alt+1 Example #include <GUIConstantsEx.au3> Local $Button_1, $Button_2, $msg GUICreate("Example") ; $Button_1 = GUICtrlCreateButton("Run Notepad", 10, 30, 100) GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $Button_1 $HotkeyButton = "some way to detect what key is pressed...." HotKeySet ($HotkeyButton, "Notepad") EndSelect WEnd Func Notepad() Run(@WindowsDir & "\notepad.exe") EndFunc Edited August 19, 2013 by Hawkysoft Link to comment Share on other sites More sharing options...
Solution FireFox Posted August 19, 2013 Solution Share Posted August 19, 2013 Hi, This is what you're looking for : '?do=embed' frameborder='0' data-embedContent>> No more questions on it or your topic will be locked. Why? Too much related to keyloggers. Br, FireFox. Link to comment Share on other sites More sharing options...
Hawkysoft Posted August 19, 2013 Author Share Posted August 19, 2013 @FireFox, don't you got a hot-line? Thanks allot again, and I do understand your pov Link to comment Share on other sites More sharing options...
FireFox Posted August 19, 2013 Share Posted August 19, 2013 My hot-line is on the forum 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