🧰 AutoHotkey v2

Pomodoro Reminder Popup

Ctrl+Alt+P starts a 25-minute focus timer that pops up a reminder to take a break when it ends.

By WindowsScripting.com · 609 B
PomodoroReminder.ahk
; ============================================================
; PomodoroReminder.ahk
;
; Ctrl+Alt+P starts a 25-minute Pomodoro focus timer. When it ends, a
; message box reminds you to take a break. Press again anytime to
; restart the timer.
;
; Requirements: AutoHotkey v2 (https://www.autohotkey.com/)
; ============================================================

#Requires AutoHotkey v2.0

^!p::{
    SetTimer(PomodoroDone, -25 * 60 * 1000)
    TrayTip("Pomodoro started", "Focus time: 25 minutes")
}

PomodoroDone() {
    MsgBox("25 minutes are up — time for a short break!", "Pomodoro", "Iconi")
}