Skip to content

Instantly share code, notes, and snippets.

@Curtis-64
Last active December 23, 2022 13:01
Show Gist options
  • Save Curtis-64/d8ea0e3af5923cd0e6eae5696b99a27e to your computer and use it in GitHub Desktop.
Save Curtis-64/d8ea0e3af5923cd0e6eae5696b99a27e to your computer and use it in GitHub Desktop.
AutoHotKey Script Shown in ChatGPT Demonstration
#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