Keywords, Macros, and Replacement Cards
Keywords
Lanceur includes built-in predefined keywords that cannot be removed or reconfigured.
Keyword | Description | Parameter |
---|---|---|
add | Creates a new alias. | The name of the alias to create. |
setup | Opens the settings page. | N/A |
centre | Centers the search box on the screen. | N/A |
version | Displays the version of Lanceur. | N/A |
stat | Opens the analytics page. | N/A |
help | Opens the online help page | N/A |
logs | Opens the location where the logs are stored | N/A |
Macros
Macros are hidden keywords that can be activated by creating an alias with a specific text in the File Name field.
To activate a macro:
- Enter its name (including
@
) in the File Name field. - Assign it a name.
- Save the alias.
Macro | Description | Parameters |
---|---|---|
@multi@ | Executes a list of aliases. | The alias serie |
@guid@ | Generates a GUID and copies it to the clipboard. | N/A |
@clipboard_as_text@ | Clears formatting and copies only the plain text to clipboard | N/A |
@github_issue@ | Creates new issue in Github for Lanceyr | The title of the issue |
@multi@
- Execute a List of Aliases in a Custom Order
Execute a list of alias in the order you configured it. In the parameters, add all the alias you want to launch and in the order you want to launch.
Each alias is separated by at least one @
Each @
will delay the execute of one second (If you want a bigger delay, add multiple @
)
Example:
alias1@@alias2@@@alias3
This will run alias1, then wait 2 seconds before alias2, and 3 seconds before alias3.
@github_issue@ – Create a new issue in the Lanceur-bis repository
Creates a new GitHub issue for the Lanceur-bis project. The parameter is the issue title.
To use this feature, you must have a token provided by someone with admin access to the repository.
Example
<issue_alias> Bug: something is wrong
Replacement Cards
Any occurrence of these macros in the File Name field will be replaced as follows:
Card | Description |
---|---|
$C$ | Replaced with clipboard content, formatted for web URLs. |
$R$ | Replaced with raw clipboard content. |
$I$ | Replaced with typed parameters. |
$W$ | Replaced with typed parameters, formatted for web URLs. |