← Back to Documentation
Complex Macro Patterns
Nested Loops
Loops inside loops for grid patterns or repeated sequences.
State Machines
Use variables to track state and conditions to branch based on current state.
Error Handling
Use conditions to check for expected screen state before proceeding.
Modular Design
Break complex macros into smaller reusable sections using sub-macros.
Timing Patterns
Combine fixed delays with random variation for natural timing.