Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
3 handy global hotkeys for composing email
; update as needed
chrome := userprofile "\Local Settings\Application Data\Google\Chrome\Application\chrome.exe"
iexplorer := "C:\Program Files (x86)\Internet Explorer\iexplore.exe"
; Open Gmail Inbox
#^e:: OpenChromeUrl("")
; Compose Gamil Email
#^c:: OpenChromeUrl("")
; Compose Email to Noah
#^n:: OpenChromeUrl("")
; Opens a link in Google Chrome if possible
global chrome
if (FileExist(chrome))
Run %chrome% %url%
; Opens a link in Internet Explorer
global iexplorer
Run %iexplorer% %url%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment