How ashketchum2017/macrorunner works
MacroRunner is a CorelDRAW VBA tool for configuring ordered GMS macro sequences, preflighting them, running them step by step, and reporting status and duration. The graph follows the README’s documented workflow and module names; source excerpts were unavailable, so internal call ownership is shown only where the documentation explicitly describes it.
Main entry points: MacroRunnerMenu.vba Runner Menu · MacroQueue.vba Macro Queue · MRSequenceStore.cls Sequence Store · MacroSelection.vba Macro Selection
Components 23
Configuration UI
- Runner Menu
src/forms/MacroRunnerMenu.vba - Macro Queue
src/forms/MacroQueue.vba - Macro Selection
src/forms/MacroSelection.vba
Run and Behavior
- Presenter
src/classes/MRPresenter.cls - Run Model
src/classes/MRRunModel.cls - Macro Catalog
src/classes/MRCatalog.cls - Sequence Parser
src/classes/MRSequenceParser.cls - Behavior Parser
src/classes/MRBehaviorParser.cls - Behavior Blocks
src/classes/MRBehaviorBlock.cls - Behavior Instructions
src/classes/MRBehaviorInstruction.cls - Stopwatch
src/classes/MRStopwatch.cls - Clipboard
src/classes/MRClipboard.cls
Configuration Storage
- Sequence Store
src/classes/MRSequenceStore.cls - JSON Configuration
src/classes/MRConfigJson.cls - Configuration
src/classes/MRConfiguration.cls - Queue Row
src/classes/MRQueueRow.cls - Configurations JSON
- Legacy Registry
GMS Integration
- Target GMS Project
- Target Bridge
src/Integration/MRTargetBridge.bas - Lifecycle Snippet
src/Integration/FormLifecycleSnippet.vba
Other components
- User
- CorelDRAW
Connections 23
- User → Runner Menu: opens
- Runner Menu → Macro Queue: opens queue
- Macro Queue → Macro Selection: opens editor
- User → Macro Queue: configures and selects
- User → Runner Menu: starts and continues
- Runner Menu → Presenter: runs workflow
- Runner Menu → Clipboard: copies statistics
- Runner Menu → Stopwatch: measures steps
- Runner Menu → Macro Catalog: checks projects
- Runner Menu → Target Bridge: requests validation and execution
- Target Bridge → Target GMS Project: dispatches behavior
- Target GMS Project → Target Bridge: confirms execution
- Target GMS Project → Lifecycle Snippet: uses lifecycle hook
- CorelDRAW → Target GMS Project: hosts projects
- Macro Selection → Sequence Parser: validates sequence
- Macro Selection → Behavior Parser: validates behavior
- Behavior Parser → Behavior Blocks: parses blocks
- Behavior Parser → Behavior Instructions: parses instructions
- Sequence Store → JSON Configuration: uses JSON format
- JSON Configuration → Configurations JSON: reads and writes
- Sequence Store → Legacy Registry: loads legacy data
- Macro Queue → Queue Row: displays configurations
- Sequence Store → Configuration: loads and saves