Last active
October 5, 2022 09:43
-
-
Save 2ajoyce/7b19b60b93176ccbb790117020d1e3f3 to your computer and use it in GitHub Desktop.
Autohotkey Paste In Git Bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
SetTitleMatchMode, 1 | |
I_Icon = C:\Program Files\AutoHotkey\Letter Icons\paste.ico | |
ICON [I_Icon] ;Changes a compiled script's icon (.exe) | |
if I_Icon <> | |
IfExist, %I_Icon% | |
Menu, Tray, Icon, %I_Icon% ;Changes menu tray icon | |
#IfWinActive MINGW64 | |
{ | |
^v:: | |
SendInput +{Insert} | |
Return | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment