From b9c88b0bc06473aa9f5a2c3297b8a0c951e6f63b Mon Sep 17 00:00:00 2001 From: Travis Northcutt Date: Thu, 30 Apr 2020 08:36:43 -0600 Subject: [PATCH] Update Macros docs with example of Macros.play() Closes https://github.com/keyboardio/Kaleidoscope/issues/836 --- docs/plugins/Macros.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/plugins/Macros.md b/docs/plugins/Macros.md index ebdaeb1e..eb3c9e39 100644 --- a/docs/plugins/Macros.md +++ b/docs/plugins/Macros.md @@ -83,7 +83,9 @@ The plugin provides a `Macros` object, with the following methods and properties > helper discussed below. This method will be used by the plugin to play back > the result of the `macroAction()` method, but is used rarely otherwise. > -> The `macro` argument must be a sequence created with the `MACRO()` helper! +> The `macro` argument must be a sequence created with the `MACRO()` helper! For example: +> +> Macros.play(MACRO(D(LeftControl), D(LeftAlt), D(Spacebar), U(LeftControl), U(LeftAlt), U(Spacebar))); ### `.type(strings...)`