Your first script - jacksteraz/Radiology-AHK GitHub Wiki

A quick read of the version 1 AHK tutorial is recommended at https://www.autohotkey.com/docs/v1/Tutorial.htm

Notepad is suggested for beginners.

Suggested code at top of script:

#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.

In the above code, the semicolon indicates that the rest of that line is comments or notes to yourself, not code that is executed.

The following script is very basic. The first line says "when Ctl-j is entered". The second line says to send the F4. The third line "return" ends the routine.

^j::
Send, {F4}
return