r/Surface•
KFloww

Surface Pen button remap tip for OneNote 2016

I like to take notes in OneNote desktop version because of the printout options and all that good stuff. What I don't like is that you don't have access to pen color/size customization when you are in full screen and taking notes. You can press Alt to access the menu and use more keyboard shortcuts to go from there to color and size, but I generally fold my keyboard back to take notes. So I figured I would map my pen button to do the keyboard shortcuts with AHK. I figured if I had the issue, someone else may benefit from this quick guide.

Before we begin, make sure to go to your pen settings and make sure your "click once" pen shortcut does nothing.

Step 1: Download AHK
Step 2: Make a new text document (on your desktop works easy enough) Like so
Step 3: Type this stuff in there then save the document as whatever you want .ahk (The .ahk part is key, it should change the icon on your desktop to look like this )
Step 4: Right click your new script and click "Run as Administrator"

Now open up OneNote and try it out! It should open this box while you stay in full screen!

Edit: I realize there's a way to "create ahk script" right from the initial right click menu but I have always done it with the notepad so it works fine.

Posted Feb 8, 2017, 3:26 AM UTC · edited

115
NoWayIn•

This is really awesome, thanks!

2
KFlowwOPSP3 i7 •

No problem! Glad it helped

1
ratshackSP4i7, SP3i7, S3, SP2, SP1 and another S3.•
1
KFlowwOPSP3 i7 •

what?

2
ratshackSP4i7, SP3i7, S3, SP2, SP1 and another S3.•

Totally posted to wrong tab, doh!

1
Kemara32•

I'm trying to do this on my Surface and after I run the script, clicking the eraser does nothing (I made sure to set it in options to "nothing"). I'm full-screen in Onenote 2016. Maybe the Creator's update changed something?

1
KFlowwOPSP3 i7 •

Sometimes I need to restart my computer then run it again as administrator and it works. Let me know if that works?

1
Kemara32•

No joy, but I think I know why - I don't have a keyboard cover at all. I'm guessing keyboard shortcuts will only work if you have a keyboard attached. That said, my pen seems to be finicky about button presses working the way they're supposed to. I do have a keyboard cover on my Amazon wish list, so if I get it, I'll try this again.

1