Skip to content

Instantly share code, notes, and snippets.

@aziraphale
Last active September 12, 2018 10:51
Show Gist options
  • Save aziraphale/053183238536f37170bd8979e6dafe4d to your computer and use it in GitHub Desktop.
Save aziraphale/053183238536f37170bd8979e6dafe4d to your computer and use it in GitHub Desktop.
Set Outlook 2016 message compose font to Consolas using Ctrl+Shift+M (AutoHotkey script)
;;;;; OUTLOOK 2016 MAIN OR COMPOSE WINDOW REDEFINE
;;;;; Redefine only when the active window is an Outlook (2016) window
#IfWinActive ahk_class rctrl_renwnd32
; Set font to Consolas with Ctrl+Shift+M
^+m::
; Outlook is a bit slow to respond!
SetKeyDelay, 100
Send !h
Send f
Send f
; But we don't want to take ages to type the font name!
SetKeyDelay, 10
Send Consolas{Enter}
return
#IfWinActive
;;;;; END OUTLOOK 2016 MAIN OR COMPOSE WINDOW REDEFINE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment