Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.
/ lanceur Public archive

A free adaptation of Slickrun written in .NET

License

Notifications You must be signed in to change notification settings

jibedoubleve/lanceur

Repository files navigation

This repository is not maintained anymore because I've started a rewrite of this tool at this address: https://github.com/jibedoubleve/lanceur-bis

Table of content

Lanceur

This is a free adaptation of Slickrun written in .NET and with features inspired by Wox

What does it do?

Make a list of shortcuts, configure them and earn a lot of time by just typing the shortcut and press ENTER

How does it work?

To display the window, by default, the shortcut is ctrl alt space

ctrl alt has the same behaviour as AltGr

img

When you've used the shortcut, a window appears.

  • In the searchbox (point 1), enter the keyword you want to execute
  • You'll see as you type the results that correspond to what you're typing (point 2)
  • You can type ENTER to execute the first element of the list
  • OR you can click on the element you want to execute

What is a command line?

command [space] parameters

For instance, I've configured a google search as follow ? my_search. In other words, if I want to search 'aeroplane' in google, I write ? aeroplane.

Here's how the command is configured

keyword file name
? https://www.google.com/search?hl=en&q=\$W\$

the use of $W$\ is defined HERE

This command line is divided as follow:

item value
? Command
aeroplane Parameters

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.

    You can set as many keywords as you want

  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

Plugins

Read more here

Data Reconciliation

Read more here

Print screens

img

Architecture

Read more here

Acknowledgement