Page 1 of 1

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

Posted: 27 Mar 2023, 17:31
by HARQUR

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

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

Posted: 27 Mar 2023, 17:51
by gregster
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... 🤷‍♂️)