Last active
December 23, 2022 13:01
-
-
Save Curtis-64/d8ea0e3af5923cd0e6eae5696b99a27e to your computer and use it in GitHub Desktop.
AutoHotKey Script Shown in ChatGPT Demonstration
This file contains hidden or 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. | |
; Set the SendMode to Input | |
SendMode Input | |
; Enable the SingleInstance option | |
#SingleInstance force | |
FileRead, boottext, %A_ScriptDir%\snippets\boot.txt | |
FileRead, abbreviations, %A_ScriptDir%\snippets\abbreviations.txt | |
FileRead, personas, %A_ScriptDir%\snippets\personas.txt | |
FileRead, simulants, %A_ScriptDir%\snippets\simulants.txt | |
; Bind the Ctrl+J key to the Reloader function | |
Hotkey, ^j, Reloader, On | |
::..br:: ExtremelyVeryBriefMode | |
::.boot:: | |
clipboard := boottext | |
Send, ^v | |
return | |
::.abbr:: | |
clipboard := abbreviations | |
Send, ^v | |
return | |
::.personas:: | |
clipboard := personas | |
Send, ^v | |
return | |
::.simulants:: | |
clipboard := simulants | |
Send, ^v | |
return | |
; Define the reloader function | |
Reloader: | |
; Reload the script | |
Reload | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment