OneNote and Autohotkey – Useful Scripts

来源:互联网 发布:最好拆卸软件 编辑:程序博客网 时间:2024/05/26 04:37

 

http://documentumcookbook.wordpress.com/2008/03/10/onenote-and-autohotkey-useful-scripts/

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

 

 

5 Responses to OneNote and Autohotkey – Useful Scripts

  1. technologyspeak.com says:

    Hello,
    Actually, I have a tip for you. I’m a big fan as well as of AutoHotkey and OneNote. It’s stupid that the Ctrl-[ doesn’t increase the font like in MS Word, however, you don’t need to write an AutoHotkey script for that function. In OneNote 2007, it’s Ctrl-Shift- for increasing and decreasing fonts.
    Hope this helps!

    Reply
  2. james says:

    actually it isn’t Ctrl-SHift -[
    It is Ctrl SHIFT
    One increases the other decreases. I only found it by trial and error

    Reply
  3. james says:

    realized previous poster was correct, but for some reason the web page does not display the character. Just use CTRL SHIFT and then the left or right arrow keys. Sorry for the double & meaningless post

    Reply
  4. Amit | Web Design says:

    I have discovered OneNote about a year ago, when I was working on a new web developing project.
    The project was demanding for research and collecting information from many resources.
    OneNote was the perfect solution for us.

    Today we use only OneNote for our web developing projects and research.

    Thank you for the interesting post.
    Happy to learn new things every day.

    Amit

    Reply
  5. Jamie says:

    Wish Onenote allowed some notes to be opened as sticky notes and in the same window location on the screen.

    Guess I will have to keep using Post-it notes software by 3M

 

原创粉丝点击