Remapping doesn't work in OneNote Windows 11 version [update on OneNote 2016]

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
HARQUR
Posts: 33
Joined: 11 Jan 2021, 08:07

Remapping doesn't work in OneNote Windows 11 version [update on OneNote 2016]

Post by HARQUR » 27 Mar 2023, 17:31

Code: Select all

Up::Sendplay /
Return
Return
/::up
Return
;+/::Sendplay +{up}
;Return
;^/::Sendplay ^{up}
;Return
;^+/::Sendplay ^+{up}
;Return
RAlt::Left
Return
RShift::RAlt
Return
AppsKey::down
Return
;+AppsKey::Sendplay +{down}
;Return
;^AppsKey::Sendplay ^{down}
;Return
;^+AppsKey::Sendplay ^+{down}
;Return
Down::AppsKey
Return
RControl::Right
Return
Right::RControl
This works quite well in remapping keys on my 60 percent keyboard to a set of arrow keys, but there is an issue, the remapping to arrow keys up and down works only in apps other than onenote.

ahk_exe ONENOTE.EXE

thx, to fix this should be simple, idk

gregster
Posts: 9014
Joined: 30 Sep 2013, 06:48

Re: Remapping doesn't work in OneNote Windows 11 version [update on OneNote 2016]

Post by gregster » 27 Mar 2023, 17:51

Looks like you are using AHK v1 (v2 is now the main release) - that's why I moved your topic to a more appropriate forum.

Re your question: Most of the time, in cases like this, it's a permissions issue: https://www.autohotkey.com/docs/v1/FAQ.htm#uac
Although OneNote seems to cause a lot of problems, generally. (I personally have never used it... 🤷‍♂️)

Post Reply

Return to “Ask for Help (v1)”