.. _sardana-macro-howto: ============== Writing macros ============== Macros are the user-written procedures executed by the MacroServer. These guides explain how to write your own macros - from simple ones to scan macros developed with the scan framework - and how to use hooks, the macro environment, logging and reports. .. toctree:: :maxdepth: 2 General macro development Scan macro development Macro hooks Controlling macro sequences Macro environment Macro logging and reports Examples