I'd like to change these to use fn + a letter. Looking around I see that sc163 is the fn key, but for example this doesn't appear to work for fn + a:
Code: Select all
sc163 & a::
Thanks in advance for any help.
Code: Select all
sc163 & a::
Code: Select all
sc163::LastFnPress:=A_TickCount+50
#if (LastFnPress<A_TickCount)
a::MsgBox a
#if
Code: Select all
MsgBox, % GetKeyName("sc163")
Code: Select all
msgbox, % GetKeyVK("sc163") ; shows 47 aka 0x2F
vk2Fsc163::msgbox ; fails
vk47sc163::msgbox ; fails
vkFFsc163::msgbox ; works
this didn't work for meHotKeyIt wrote:Try something like that, :Code: Select all
sc163::LastFnPress:=A_TickCount+50 #if (LastFnPress<A_TickCount) a::MsgBox a #if
if i hold down "k", KeyHistory shows repeated events. but if i hold down "Fn", KeyHistory only shows 1 eventHotKeyIt wrote:as far as I remember Fn key is not kept down state but pressed repeatedly
ThinkPad? On my laptop, quick testing shows the Fn key can indeed be detected by AutoHotkey, but (presumably due to the way the EC is programmed to work) the letters pressed whilst Fn is held down aren't sent to Windows (at least raw input isn't picking them up).enigment wrote:Is it possible to use the fn key as a modifier? What am I missing about how to do this?
See Hotkey Combinations.enigment wrote: There aren't any other keys that can be used as modifiers besides Ctrl, Alt, Shift, and Windows, are there?
I did a combination of that (before I saw your msg actually), and removing some less frequently used items with Windows key triggers.guest3456 wrote:you could try using SHIFT+WIN+XXX instead?
+#a::msgbox
Users browsing this forum: Bing [Bot], Marium0505, mcl and 344 guests