ctrl (^
) + up and down work, as does sending something like {end}{right}{end}.
This is not quite the same functionality though.
AutoIT, a similar language, for some reason can send up and down to onenote fine. The workaround used for projects like vim for onenote uses precompiled autoit exes, which do exactly this. They are fast, and work well.
They are compiled .au3
scripts.
The compiled scripts are one line each:
Send("{UP}")
Send("{DOWN}")
Call these from AHK code when you need to use them, and it works brillantly.
SendUp(){
run %A_ScriptDir%\sendDown.exe
}
The downside is including small binaries in your code.