Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Todo Popup (Windows) ==================== This package contains: - todo_popup.py — the program - run_todo_popup.bat — helper script to run it with Python - TaskScheduler_TodoPopup.xml — a Task Scheduler template to auto-run at logon and on resume from sleep - todo.txt — a starter todo file (the program will actually store your live list in %APPDATA%\TodoPopup\todo.txt) How it works ------------ - When launched, a terminal window is maximized and your todo list is shown. - Commands: A (add), T # (toggle done), R # (rename), D # (delete), E (open in Notepad), S (save), Q (quit), H (help). - The list is stored at: %APPDATA%\TodoPopup\todo.txt You can edit this file directly anytime. Quick start (just once) ------------------ 1) Install Python 3 from https://www.python.org/ (if you don't have it). 2) Put this folder somewhere permanent, e.g., C:\Users\<you>\Apps\todo_popup\ 3) Double‑click `run_todo_popup.bat` to launch. It will try `py -3` first, otherwise `python` from PATH. Run automatically on lid‑open / logon ------------------------------------- Using Windows Task Scheduler: A) import the template to task scheduler (easiest) 1. Open Task Scheduler (Win + R → taskschd.msc). 2. Action → Import Task… → select `TaskScheduler_TodoPopup.xml`. 3. Click OK. (The path is already configured for this location.) 4. The template includes two triggers: - At log on (runs on sign-in, restart, or power-on) - On Event: System log, Source `Power‑Troubleshooter`, Event IDs `1, 101, 501` (resume from sleep/wake) B) or if you need to do this manually for some reason - Trigger 1: At log on → Any user (or just your account) - Trigger 2: On an event → Log: System; Source: Power‑Troubleshooter; Event IDs: 1, 101, 501 - Action: Start a program → Program/script: your `run_todo_popup.bat` absolute path - Conditions: (optional) Uncheck "Start the task only if the computer is on AC power" - Settings: Allow task to be run on demand; Do not stop if running on batteries. Notes ----- - "Lid open" typically wakes the device from sleep. The `Power‑Troubleshooter` Event IDs (1, 101, 501) trigger on various resume/wake scenarios. - Event ID 1: System resume, Event ID 101: System returning from low-power state, Event ID 501: User-initiated wake. - If your device isn't sleeping on lid close, consider enabling "Sleep on lid close" in Power & Battery settings. Power user tips --------------- - To keep the console truly full‑screen, the program tries to maximize the console window on Windows. This is best‑effort. - You can also pin `run_todo_popup.bat` to Start or assign a keyboard shortcut. - The file format is simple; lines starting with `[ ]` are open, `[x]` are done.