First you need to download AutoHotKey and install
Then open notepad
Copy red text below
#F20::
IfWinNotExist, OneNote
{
Run,C:\Program Files\Microsoft Office\root\Office16\onenote.exe
return
}
IfWinExist, OneNote
{
WinActivate
return
}
paste into notepad
Save file as pen.ahk and save it to"
C:\Users\Your user name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
This will open AutoHotKey when you boot and run the script.
This is not a perfect method but for now it is a work around.
Edit: for Office 365 2013 use
#F20::
IfWinNotExist, OneNote
{
Run, C:\Program Files\Microsoft Office 15\root\office15\onenote.exe
return
}
IfWinExist, OneNote
{
WinActivate
return
}
Then open notepad
Copy red text below
#F20::
IfWinNotExist, OneNote
{
Run,C:\Program Files\Microsoft Office\root\Office16\onenote.exe
return
}
IfWinExist, OneNote
{
WinActivate
return
}
paste into notepad
Save file as pen.ahk and save it to"
C:\Users\Your user name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
This will open AutoHotKey when you boot and run the script.
This is not a perfect method but for now it is a work around.
Edit: for Office 365 2013 use
#F20::
IfWinNotExist, OneNote
{
Run, C:\Program Files\Microsoft Office 15\root\office15\onenote.exe
return
}
IfWinExist, OneNote
{
WinActivate
return
}
Last edited: