Skip to content

Instantly share code, notes, and snippets.

@ProjectEli
Created November 6, 2024 04:59
Show Gist options
  • Save ProjectEli/e650f0dfc4664259939db804fe6f01e9 to your computer and use it in GitHub Desktop.
Save ProjectEli/e650f0dfc4664259939db804fe6f01e9 to your computer and use it in GitHub Desktop.
Eli_AHK
#Requires AutoHotkey v2.0
; what's modified in v2 ref: https://blog.naver.com/550sn/223304085896
; #NoEnv ; performance enhancement but default in ahk v2
; #Warn ; Enable warnings to assist with detecting common errors.
; SendMode Input ; Recommended for new scripts due to its superior speed and reliability but default in ahk v2
SetWorkingDir A_ScriptDir ; Ensures a consistent starting directory. A_ScriptDir is built-in variable in ahk v2
^Numpad1:: Run "Notepad"
^Numpad2:: Run "mspaint"
^Numpad3:: Run "shell:appsfolder\Microsoft.Whiteboard_8wekyb3d8bbwe!Whiteboard"
^Numpad4:: Run "C:\Users\Master of this\AppData\Local\Programs\Microsoft VS Code\Code.exe"
^Numpad5:: Click
^!Numpad2::
{
Loop 20
{
Send "{Enter}show me the money{Enter}"
Sleep 5
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment