Skip to content

Instantly share code, notes, and snippets.

View samueleastdev's full-sized avatar

Samuel East samueleastdev

View GitHub Profile
@2ajoyce
2ajoyce / PasteInGitBash.ahk
Last active October 5, 2022 09:43
Autohotkey Paste In Git Bash
#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%