How mazt08/mazcro works
MazCro is a Windows-oriented GUI macro recorder and player. The main workflow is to select a target application, record or manually assemble actions, save or load a macro, then validate and replay it against a matching window. The UI also supports coordinate picking, variables, hotkeys, and Alt+Tab auto-triggering. The source excerpts establish the core model, persistence, recording, playback, picker, and window-detection layers; some additional UI wiring and capabilities are documented only in the README.
Components 15
User interface
- Macro GUI
main.py
Macro authoring
- Action queue editor
main.py - Coordinate picker
coordinate_picker.py - Macro and action model
macro_model.py - Input recorder
recorder.py
Playback and targeting
- Playback engine
player.py - Window detection and matching
window_manager.py - Keyboard and mouse input hooks
- Input automation backend
Persistence
- Macro file storage
macro_store.py - JSON macro files
- Error log
Other components
- User
- Target application
- Foreground window
Connections 23
- User → Macro GUI: uses
README.md - Macro GUI → Window detection and matching: lists windows
main.py - Macro GUI → Action queue editor: edits actions
README.md - Macro GUI → Coordinate picker: opens picker
main.py - Coordinate picker → Macro GUI: returns coordinates
coordinate_picker.py - User → Input recorder: provides activity
README.md - Input recorder → Macro and action model: creates actions
recorder.py - Macro GUI → Input recorder: controls recording
README.md - Action queue editor → Macro and action model: edits macro actions
README.md - Macro GUI → Macro file storage: loads and saves
main.py - Macro file storage → Macro and action model: serializes models
macro_store.py - Macro file storage → JSON macro files: reads and writes
macro_store.py - Macro file storage → Error log: writes logs
macro_store.py - Macro GUI → Playback engine: starts playback
README.md - Playback engine → Macro and action model: executes actions
player.py - Playback engine → Window detection and matching: checks target
README.md - Playback engine → Input automation backend: sends input
README.md - Keyboard and mouse input hooks → Input recorder: supplies events
recorder.py - Window detection and matching → Foreground window: detects focus
window_manager.py - Window detection and matching → Macro and action model: matches target
window_manager.py - Playback engine → Target application: replays actions
README.md - Macro GUI → Playback engine: triggers by hotkey
README.md - Window detection and matching → Playback engine: auto-triggers on focus
README.md