Macro docs? how-to?

‘Turn the laser on’ already exists, if that’s what you’re planning to use it for: