🧰 AutoHotkey v2

Quick Note Popup

Win+N opens a tiny input box and appends whatever you type, with a timestamp, to a running notes.txt file on the desktop.

By WindowsScripting.com · 677 B
QuickNotePopup.ahk
; ============================================================
; QuickNotePopup.ahk
;
; Win+N pops up a one-line input box; whatever you type is appended,
; with a timestamp, to %USERPROFILE%\Desktop\quick-notes.txt.
;
; Requirements: AutoHotkey v2 (https://www.autohotkey.com/)
; ============================================================

#Requires AutoHotkey v2.0

#n::{
    result := InputBox("Quick note:", "Quick Note")
    if (result.Result = "OK" && StrLen(Trim(result.Value)) > 0) {
        notePath := A_Desktop "\quick-notes.txt"
        FileAppend(FormatTime(, "yyyy-MM-dd HH:mm") " - " result.Value "`n", notePath)
        TrayTip("Quick Note", "Saved.")
    }
}