Is ^!7 a valid hotkey?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
kurtontheway
Posts: 1
Joined: 18 Oct 2018, 03:29

Is ^!7 a valid hotkey?

18 Oct 2018, 03:38

Hi there,
I'm been setting up a hotkey(Ctrl + Alt + 7) to launch an app, and it just does not work. While Ctrl + Alt + [a-z] just works like a charm. So could someone tell me whether ^!7 is a valid hotkey in AutoHotkey? Thanks in advance!!
User avatar
Scr1pter
Posts: 1272
Joined: 06 Aug 2017, 08:21
Location: Germany

Re: Is ^!7 a valid hotkey?

18 Oct 2018, 05:09

Sure it is!

Code: Select all

^!7::
MsgBox, It is a valid hotkey!
return
P.S.
I use a German keyboard layout.
What layout do you use? Does Ctrl+Alt+7 have a function for you?
For me it is {

Regards
Please use [code][/code] when posting code!
Keyboard: Logitech G PRO - Mouse: Logitech G502 LS - OS: Windows 10 Pro 64 Bit - AHK version: 1.1.33.09
eelrod
Posts: 65
Joined: 10 Apr 2018, 11:17

Re: Is ^!7 a valid hotkey?

18 Oct 2018, 09:05

Something to note is that this isn't the same as the numberpad numbers; it only will work with the number row. If you want to use the numberpad, it's ^!NumPad7::
User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

Re: Is ^!7 a valid hotkey?

18 Oct 2018, 12:35

Continuing on from what eelrod said:

Code: Select all

^!7::
^!Numpad7:: ;works when NumLock is on
^!NumpadHome:: ;works when NumLock is off
MsgBox, % A_ThisHotkey
return
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Dewi Morgan and 377 guests