Skip to content

Instantly share code, notes, and snippets.

@DaneWeber
DaneWeber / AHK-mailto-gmail.ahk
Last active Sep 13, 2015 — forked from anonymous/AHK-mailto-gmail.ahk
AHK script to be Windows default mailto app, forwarding to Gmail
View AHK-mailto-gmail.ahk
; Copied from http://www.autohotkey.com/board/topic/39551-change-the-default-mailto-to-gmail/
; #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
; SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
Haystack = %1%
;~ If no paramter is given when the run of it, it registers itself as the default mailto
; commented out because I'd rather set it as default by myself.