Macro Tag
The macro tag can be used to add a macro to Jancy’s command registry. A macro is a way to run commands in sequence.
<jyl> <macro id="my-macro" description="Select default proxy provider, clear cookies, and reload tabs"> <command id="select-default-proxy-provider" /> <command id="clear-cookies-reload-tabs" /> </macro> </jyl>
Format
Macros start and end with a macro
tag.
macro
tag properties:
id
required which must be unique amongst all macros and commands registered with Jancy.
Jancy will always prepend the word
user-
to user defined macros.
description
optional a human readable string describing what the macro does.
If a description property is omitted, the
id
property will be used in it’s place.
Command Tag
The macro
tag must contain one or more command
tags that specify which commands the macro should run.
command
tag properties:
id
required the ID of the command.
You can find command IDs in app by opening a tab and navigating to
jancy://commands
.