:*:]p:: ; This hotstring replaces "]p" with the current date and time via the commands below. FormatTime, CurrentDateTime,, yyyyMMdd ; It will look like 20220421 SendInput %CurrentDateTime% return