Merge pull request #839 from tnorthcutt/patch-1

Update Macros docs with example of Macros.play()
pull/842/head
Jesse Vincent 5 years ago committed by GitHub
commit ca33599092
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 > 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 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...)` ### `.type(strings...)`

Loading…
Cancel
Save