Skip to content

UM_new_keyword

jibedoubleve edited this page Jan 3, 2023 · 4 revisions

Create a new keyword

There are two ways to create a new shortcut

Going to the configuration window

  1. Type setup
  2. Go to the tab keywords

With the keyword add

Type Add <the_keyword_you_want>, a window appear:

Create shortcuts (UI)

img

  1. Type the name of the shortcut you want to configure.
  2. Set the path of the shortcut.

    The path can be:

    • the path of an executable
    • a path to a directory
    • an URL
  3. As a convenience you can use the cross to infer the executable.

    Drag and drop the cross on a window and Lanceur will infer the path of the executable

  4. Add the argument that will be used when launching the executable
  5. RunAs can be:
    • Admin: launch the application with administration privileges
    • CurrentUser: launch the application with the privilege of the current user
  6. StartMode can be:
    • Default: keep default configuration of the app
    • Maximized: start in fullscreen
    • Minimized: start minimised in the taskbar
  7. The working directory is the path that will be specified to the program as the working directory when starting it.
  8. Some notes user can add to the shortcut.

Predifined keywords

Some keyword are reserved and have some specific behaviour:

keyword explanation parameters
add Create a new keyword. The name of the keyword you want
centre Centre the window in the middle of the main screen N.A.
clear Clears the database. ❗ Erase the database N.A.
guid Put a new guid into the clipboard N.A.
import Automatically import data from Slickrun N.A.
quit Quit the application N.A.
sessions List all the sessions N.A.
switch Switch to another session The name of the session
setup Opens the setup window N.A.
statistics Displays statistics on the usage N.A.
version Displays the version of Lanceur N.A.

Replacement macros

Any occurence of these macro in the File Name text box will be replace as follow.

macro explanation
$C$ will replace with the Clipboard in the format most web URLs expect
$R$ will replace with the Clipboard
$I$ will replace with typed parameters
$W$ will replace with typed parameters in the format most web URLs expect