Drafts Script Reference
    Preparing search index...

    Class ActionGroup

    Represents an action group. Can be used to inquire and load action groups in the action list and action bar using methods on the App object.

    Loading action group in action list

    let group = ActionGroup.find("Basic")
    app.currentWindow.loadActionGroup(group)
    Index

    Content

    Identification

    Query

    Content

    actions: Action[]

    The actions contained in the action group.

    Identification

    installURL: string

    URL which can be used to install this Action Group in another installation of Drafts. Useful for sharing and backups.

    name: string

    The display name of the action group.

    uuid: string

    The unique identifier of the action group.

    Query

    • Search for action group matching the name passed and return it if found. Returns undefined if not found.

      Parameters

      • name: string

        The display name of the action group.

      Returns ActionGroup