![[Library] Toastify — GDI+ Toast Notifications for AHKv2 (16 themes, 30+ easings, action buttons)](https://external-preview.redd.it/Hd_vbnuRA9y9Zx9nxGUIHYwwSh12lstl-3DVWaTGBzU.png?width=1080&crop=smart&auto=webp&s=b5333bf84d848543a69862209d8a0f57db6dea97)
[Library] Toastify — GDI+ Toast Notifications for AHKv2 (16 themes, 30+ easings, action buttons)
[Library] Toastify — GDI+ Toast Notifications for AHKv2 | 16 themes, 30+ easings, action buttons
Free & MIT licensed. Zero external dependencies beyond the bundled GDI+ wrapper.
GitHub: https://github.com/skeletorflet/AHKv2-Toastification
Quick start
#Include lib\Toastify.ahk
Toastify.Start("dark", Toastify.ALIGN.BOTTOM_RIGHT)
Toastify.Success("Saved!", "Your changes are safe.")
Features
- 16 built-in themes — DARK, NEON, CYBERPUNK, GLASS, VAPOR, FOREST, PASTEL... (each with a
_LIGHTvariant) - 30+ easing curves — BOUNCE_OUT, ELASTIC_OUT, DECELERATE, and more
- Compound animations — mix up to 4 styles: SLIDE + FADE + ZOOM + ROTATE
- Action buttons with callbacks
- Progress bar that pauses on hover
- Per-toast or global config
- DPI-aware, Windows Vista+
Example with action buttons
Toastify.Show("Update Available", "v2.1.0 is ready.", [
{text: "Update", onClick: (*) => Run("updater.exe")},
{text: "Later", onClick: (*) => MsgBox("Snoozed")},
], {
animStyle: [Toastify.ANIM_STYLE.ZOOM, Toastify.ANIM_STYLE.SLIDE],
animEasing: Toastify.EASING.BOUNCE_OUT,
theme: "cyberpunk",
duration: 5000,
showProgress: true,
})
It's a work in progress — looking for feedback, bug reports, and contributors. Any PRs or suggestions are very welcome!