Skip to content

Macro-export/import #15

@cburschka

Description

@cburschka

As discussed.

Something like this added custom.js

chat.commands.importMacros = function (arg) {
  if (arg.trim()) config.settings.macros = JSON.parse(arg);
}
chat.commands.exportMacros = function () { 
  ui.messageAddInfo(JSON.stringify(config.settings.macros));
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions