I have been tinkering with Microsoft OneNote 2007 of late. I love its simplicity and features, but hate the fact that it does not support some of the common formatting hotkeys available in other Office Apps. So here are my Autohotkey scripts that provide a good substitute. Hope you will find them useful.
;CTRL+SHIFT+P activates the Font-size drop-down.
#IfWinActive, ahk_class Framework::CFrame
^]:: ;Increase font-size
Send, {CTRLDOWN}{SHIFTDOWN}p{SHIFTUP}{CTRLUP}{DOWN}{ENTER}
return
^[:: ;Decrease font-size
Send, {CTRLDOWN}{SHIFTDOWN}p{SHIFTUP}{CTRLUP}{UP}{ENTER}
return
^Space:: ; Reset the font style to normal
Send, ^c
;Set Font-size to 11
Send, {CTRLDOWN}{SHIFTDOWN}p{SHIFTUP}{CTRLUP}11{ENTER}
;This just removes the formatting and pastes again
;This can be improved further
wholeclipboard:=ClipboardAll
Clipboard=%Clipboard%
Send,^v
Clipboard:=wholeclipboard
return
^t:: ;Show borders of tables
Send, {ALTDOWN}b{ALTUP}h
return
!1:: ;Set Heading Style
Send, {CTRLDOWN}bu{CTRLUP}{CTRLDOWN}{SHIFTDOWN}p{SHIFTUP}{CTRLUP}15{ENTER}
return
!2:: ;Set Heading Style
Send, {CTRLDOWN}b{CTRLUP}{CTRLDOWN}{SHIFTDOWN}p{SHIFTUP}{CTRLUP}12{ENTER}
return
^h:: ;High light selection in Yellow
Send, {CTRLDOWN}{SHIFTDOWN}p{SHIFTUP}{CTRLUP} ;This will highlight the font-size
Send, {TAB 9}{ENTER} ; Moves to the highlight box and sends enter to highlight
return
#IfWinActive
Posted by Ram 



