Clavier+ help

Why such a strange name? Author License Setup What can Clavier+ do Create a keyboard shortcut Conditions applied to the shortcuts Actions of a text shortcut Printing the shortcuts list Configuration files Command line options Known issues Frequently Asked Questions (FAQ) Shortcuts examples

Clavier+ website

Why such a strange name?

Clavier simply is the French word for keyboard. Note the incredible originality of this name, and the amount of creativity deployed to find it!

Author

Guillaume Ryder
Website: http://utilfr42.free.fr
E-mail: guillaume@ryder.fr

Save time by checking out the FAQ before sending me an email: it answers most of the questions I receive.

License

Clavier+ is released under the GPL license. This gives you the right to use, copy, distribute the software, for any use (personal or commercial), all that without having to pay anything.

There is no warranty for this program, I’m not responsible of any damage due to its use.

The full source code of Clavier+ is available here:
https://github.com/guilryder/clavier-plus

Setup

Clavier+ is distributed in four versions:

To install Clavier+ manually, without the setup program:

  1. Download the Zip archive (32 bits, 64 bits) and unzip it.
  2. Launch Clavier.exe.
  3. If you want the shortcuts to be always active, launch Clavier.exe again to display the configuration dialog box, then check the Launch Clavier+ at Windows startup checkbox.

To uninstall Clavier+ after a manual installation:

  1. In Clavier+ configuration, uncheck the Launch Clavier+ at Windows startup checkbox, if necessary.
  2. Quit Clavier+ by clicking the button having this name.
  3. Delete all Clavier+ files.

What can Clavier+ do

Clavier allows associating an action to any keyboard shortcut. Those actions can be:

The keyboard shortcuts can use (almost) any key of the keyboard. The Windows key, located around the spacebar, can be used along with Ctrl, Alt and Shift. As programs rarely use this key, many simple keyboard shortcuts are available to you: Win + Ctrl + A, Win + ., etc.

Clavier+ can modify the behavior of special keys like ` or F11. Thus a keyboard shortcut of one single key can be associated to a frequently used action.

If necessary, the action of a keyboard shortcut can depend of the active program. This allows adding shortcuts to a specific program.

Likewise, the action of a keyboard shortcut can depend of the state of the toggle keys, i.e. the keys having small lights in the keyboard: Caps Lock, Num Lock, Scroll Lock. For example, this allows writing special characters instead of digits when the caps lock mode is set.

The Clavier+ website shows a few examples of shortcuts.

Create a keyboard shortcut

Launch Clavier+. A small keyboard icon appears in the traybar, near the system clock. It indicates that Clavier+ is running and keyboard shortcuts are active. Click the icon to display the configuration window. You can resize the window if you find it too small. The upper area contains a few example shortcuts.

To create a new keyboard shortcut, click the Add button (shaped like a + symbol), and choose a keyboard shortcut action:

A dialog box appears for you to specify the keyboard shortcut. Type it in the dedicated area: its text name should be written in the textbox. Then, click the OK button.

If necessary, modify the shortcut action in the lower part of the configuration window. If the shortcut should write text, for example an E-mail address, check that the Write text option is checked, and then enter your text in the large text area. Each time you type the keyboard shortcut, Clavier+ will write the specified text. You can use the arrow menu to perform special actions beyond typing text: simulate a keystroke, launch a program, etc.

If the shortcut should launch a program or display a website, check the corresponding option. Write the path of your program or the URL of your website in the area below. You can use the small button on the right to look for the program to launch. You can check what your shortcut does by clicking the Test button. If necessary, click the Advanced settings button to specify the initial directory or the initial window size of the program (maximized, windowed, minimized).

If the shortcut opens a directory, you can allow it to change the current directory in File/Open dialog boxes. To do this, click the Advanced settings button and check Change directory in File/Open dialog boxes. When you execute the shortcut keystroke, Clavier+ detects whether you are in a File/Open dialog box or not. If yes, the current directory of the dialog box is changed, and the directory is not opened in Windows Explorer. Clavier+ supports several dialog boxes: File/Open, File/Save as, and directory choosing.

Important: you need to close the Clavier+ configuration window before testing your shortcuts. The shortcuts remain disabled while the window is visible.

Conditions applied to the shortcuts

You can set conditions to the triggering of a shortcut. If all conditions at met, Clavier+ executees the action of the shortcut. If one or more conditions is not met, Clavier+ lets Windows or the active program execute the original action of the shortcut, if any. This allows associating multiple actions to the same shortcut.

Warning! If you associate multiple actions to the same shortcut, make sure to avoid ambiguities by giving the shortcuts mutually exclusive conditions. Otherwise, an error message will appear when you close the window. For example, if you want to associate Ctrl + X to Notepad when Num Lock is off and to the Calculator otherwise, you must give the condition “Num Lock: must be on” to the second shortcut. This is because “Num Lock: no condition” can be ambiguous with other shortcuts, such as Ctrl + X with the condition “Caps Lock: must be on”.

Active program

You can restrict a shortcut to some programs. This allows giving different meanings to the same shortcut, depending of the active program. By default, shortcuts are enabled for “all programs but: none”, i.e. for all programs.

You can define two kinds of condition on the active program. The shortcut can be enabled for all programs except specific ones (exclusive criteria), or only for specific programs (inclusive criteria). Choose the condition type in the Activate for drop-down, after selecting your shortcut in the list.

To define the list of programs of the condition, click the small sight on the right (white background). Then keep the left mouse button down, and move the sight to the window of the program you want to select (for example, the window of Notepad or Windows Explorer). The name of the program is written in the text box at the left of the sight. Repeat this operation for each program to add to the list.

For a given keystroke, you can define any number of shortcuts with an only these programs condition as long as they refer to different programs. For a given keystroke, you can define at most one shortcut with an all programs but condition.

Shortcuts of type only these programs have precedence over all programs but shortcuts. If you create two shortcuts for the same keystroke, associate the condition “only these programs: notepad.exe” to the first one, “all programs but: none” to the second one, and if you execute the keystroke in Notepad, Clavier+ executes the first shortcut and ignores the second one.

Toggle keys

You can configure a shortcut to trigger only for certain states of the toggle keys: Caps Lock, Num Lock, Scroll Lock. For example, you can create a keyboard shortcut active only in caps lock mode.

To set toggle keys conditions for a shortcut, double-click the shortcut in the list. In the Activation condition area, set a condition for each toggle key. You can require the key to be enabled, disabled, or set no condition on it.

Actions of a text shortcut

In the Write text textbox, you can use a combination of multiple types of actions:

Typing text

Write the text to type in the text area. Use Write a character in the arrow menu to insert special characters unreachable from the keyboard.

Typing text does not work with some programs. You can try to use the [|text to write|] syntax to make Clavier+ use low-level techniques when typing text (better compatibility, but slower and more limited).

Simulating a keystroke

Use the Simulate a Keystroke in the arrow menu to write the keystroke code. Typically, the code is the name of the keystroke between brackets, for example: [Ctrl+O].

Note that simulating a keystroke allows performing many different actions such as manipulating the clipboard (with Ctrl + C and Ctrl + V) or executing menu commands (with Alt + letter).

Launching a program

Use the Launch a Program command in the arrow menu, or write the command line to execute enclosed in double brackets. For example, to open a text file and move the cursor to its end:
[[notepad.exe C:\\TODO.txt]][][Ctrl+End]

This syntax allows launching several programs with the same shortcut. For example, to launch Notepad and the calculator:
[[notepad.exe]][[calc.exe]]

The command line can contain %-enclosed environment variables, like in explorer.exe %WINDIR% to open the Windows directory with the Explorer.

Clavier+ sets the %CLIPBOARD% environment variable to the text currently stored in the clipboard. For example, to open the selected URL with Internet Explorer:
[Ctrl+C][][[iexplore.exe %CLIPBOARD%]]

Synchronizing

If your shortcut executes several actions sequentially, you may need Clavier+ to wait a little time between them to let them fully execute. To insert a pause, write a pair of brackets: []. Clavier+ will wait for 100 milliseconds, then detect the new focused window. You can also use the command [{Focus}] to specify the delay.

This last point is crucial. If you simulate a keystroke that displays a new window (for example Ctrl + O which pops out the File/Open dialog box), then write some text (for example a filename), you must indicate to Clavier+ that the text should be typed in the new window:
[Ctrl+O][]MyFile.txt[ENTER]

Do the same if you launch a program that displays a window: ask Clavier+ to detect the new active window.
[Ctrl+C][[notepad.exe]][][Ctrl+V]
This shortcut copies to the clipboard the text currently selected, launches Notepad, then pastes the copied text in it. The [] tag is crucial; it tells Clavier+ to paste to the new active window, i.e. Notepad.

Executing special commands

The arrow menu lists the supported commands:

[{Wait,duration}]
Pauses for the specified duration, in milliseconds.
[{Focus,delay,window name}]
Detects or sets the new active window. The window name and delay parameters are optional.

If not empty, delay is the number of milliseconds to wait before activating the window. It may be useful give enough time for the window to appear before trying to activate it. If delay is not specified, there is no delay.

If window name is empty, Clavier+ detects the new active window and will send the future keystrokes to it. Useful if a keystroke displays a new window in which the shortcut needs to write. Example:
[{Focus}] or [{Focus,200}]

If window name is not empty, Clavier+ activates the first window matching the given name. The name can contain * and ? wildcards. Backslashes should be used twice to escape commas. Example:
[{Focus,50,* - Microsoft Word}] or [{Focus,,Title\\, subtitle}]

By default, the shortcut execution stops if the window is not found. In order to continue executing the shortcut even if the window is not found, insert an exclamation mark ! before the window title. If you want to search for a window having a title beginning with !, escape it with two backslashes. Examples:
[{Focus,0,*Internet Explorer}][Alt+F4] closes the first Internet Explorer window found. Does nothing if Internet Explorer is not running.
[{Focus,0,!Untitled*}]Test writes Test in the first window whose title starts with Untitled, or in the current window if no such window exists.
[{Focus,0,\\!Warning!}] activates the first window titled !Warning!.

Note that [{Focus,100}] is equivalent to [].

[{Copy,text}]
Copies the specified text to the clipboard. Beware that this command is completely unrelated to the Ctrl + C clipboard shortcut, which copies the selection to the clipboard. Associated to the Ctrl + V keystroke, this command allows writing a long text quickly, or to write many times the same text. The following example writes five time the same text:
[{Copy,A sentence to repeat five times. }][Ctrl+V][Ctrl+V][Ctrl+V][Ctrl+V][Ctrl+V]
[{MouseButton,code}]
Simulates a mouse button action. code specifies the button to modify and its new state. It is made of one or two letters. The first one, mandatory, specifies the button to modify: L = left button, M = middle button, R = right button. The second letter, optional, specifies the action to perform: D = press the button down, U = release the button up. If the second letter is not specified, the button is pressed then released: this simulates a click. For example, to simulate a double-click with the left mouse button:
[{MouseButton,L}][{MouseButton,L}]
[{MouseMoveTo,x,y}]
Moves the mouse cursor to the given (x,y) position, specified in pixels relatively to the upper-left corner of the screen. For example, if you have a screen size of 1,024 × 768 pixels, the following command will move the cursor to the upper right corner:
[{MouseMoveTo,1023,0}]
[{MouseMoveToFocus,x,y}]
Moves the mouse cursor to the given (x,y) position, specified in pixels relatively to the upper-left corner of the active window. For example, to move the mouse over the system menu if the active window:
[{MouseMoveToFocus,8,8}]
[{MouseMoveBy,dx,dy}]
Moves the mouse cursor by the given amount of pixels. For example, to move the mouse by 10 pixels left and 3 pixels down:
[{MouseMoveBy,-10,3}]
[{MouseWheel,ticks}]
Simulates a mouse wheel scroll. ticks specifies the number of ticks to scroll by. A positive value will scroll downwards, a negative one will scroll upwards. For example, to scroll twice upwards:
[{MouseWheel,-2}]

Special characters

If you need to write special characters \, [, ], {, } or |, you need to escape them with a backslash. For example:
This is a bracket: \[, this is a single backslash: \\
The arrow menu has an entry listing all special characters.

You need to write a backslash before special characters everywhere in the shortcut text, even in special tags such as keystroke simulation or program launching tags:
[[notepad.exe document\[1\].txt]] to open the file named document[1].txt with Notepad

Printing the shortcuts list

In the main window of Clavier+, click on Copy list button. This stores the list of all keyboard shortcuts in the clipboard: you can paste it in the word processor of your choice to print it. If you use Microsoft Word, you can present it as an array: launch Word, copy the list with Ctrl + V, select it with Ctrl + A, and click the Insert array button.

Configuration files

By default, Clavier+ uses a single configuration file to store its settings: Clavier.ini, located in the same directory than Clavier+ main executable. Clavier+ doesn’t put anything in the registry except the Launch Clavier+ at Windows startup option.

Multiple configuration files

You can create multiple configuration files to easily switch between multiple sets of shortcuts. You can switch between configuration files without restarting Clavier+.

The Clavier+ menu, displayed by right clicking the Clavier+ icon near the system clock, provides several configuration file management commands:

Another way to load a configuration file is to run Clavier+ with the /load or /merge command line option. This allows loading a configuration file with a keystroke, by associating a keyboard shortcut to the command line:

clavier.exe /load configuration_file.ini

Configuration files syntax

If you need to add many shortcuts at once, here is the configuration file format:

Global settings
First shortcut settings
-       (line almost empty: contains only a single dash)
Second shortcut settings
-
...

If a configuration file contains multiple definitions for the same shortcut, Clavier+ retains only the first definition and ignores any duplicate definitions coming after. Therefore if you want to override some of your shortcuts by copy-pasting new definitions, insert the new configuration at the beginning of the file, not at the end.

Global settings

Language=Français or English or Deutsch or Português brasileiro
Size=width,height,maximized,hide icon
Columns=width 1,width 2,width 3,width 4
Sorting=column index
Size
width,height: size of the configuration window, in pixels.
maximized: 1 if the window is maximized, 0 otherwise.
hide icon: 1 to hide Clavier+ icon in the tray bar, near the system clock, 0 to keep it visible.
Columns
Specifies the width of all columns but the last one in the configuration window. Each width is a percentage relative to the list width. The last column takes the remaining space.
Sorting
Specifies the index of the column used to sort the list. 0 for the first column, 1 for the second one, and so on.

Shortcuts settings

Shortcut=keystroke
Code=keystroke code (internally used by Clavier+)
DistinguishLeftRight=0 or 1
Description=description text
Text=text to type when the shortcut is done
>Other line to type
>Another line
...
Command=program to launch when the shortcut is done
Directory=startup directory
Window=window mode of the program to launch
SupportFileOpen=0 or 1
Programs=programs list
AllProgramsBut=programs list
CapsLock=condition
NumLock=condition
ScrollLock=condition
UsageCount=count

Note the requirement to type a > character at the beginning of each additional line for the Text= field.

Text on one side, Command, Directory, and Window on the other side are mutually exclusive: a shortcut cannot write text and execute a command line at the same time.

Shortcut
The textual representation of the keystroke, in the same format as in the configuration window.
Code
The numerical representation of the keystroke. Clavier+ generates this code automatically, and uses it only when unable to parse the Shortcut field (for example if a Windows update has changed the name of a key used in the keystroke).
DistinguishLeftRight
Specifies whether Clavier+ should distinguish between left-side and right-side specials keys. If this setting is 1, Ctrl, Alt, Shift and Win keys located at the left side of the keyboard are distinguished from their equivalent located at the right side. This allows creating more shortcuts. If this settings is 0 (default value), the side of the special keys is not relevant in the keystroke.
Directory (command mode only)
The startup directory of the command. If none is given, Clavier+ uses the directory of the executable itself.
Window (command mode only)
The initial size of the main window of the launched program, among: Normal, Minimized, Maximized.
SupportFileOpen (command mode only)
If the command is the path of a directory, specifies whether Clavier+ should detect File/Open dialog boxes to change their current directory (value 1). If the detection fails, or if this settings is 0 (default value), the directory is opened in Windows Explorer.
Programs, AllProgramsBut (mutually exclusive)
Activation condition: the list of the only programs for which the shortcut is activated (Programs) or disabled (AllProgramsBut). The programs are semi-colon-separated. They do not have a full path: file name only, with extension.
CapsLock, NumLock, ScrollLock
If specified, specifies an activation condition for the shortcut. Accepted values: None (default value), Yes and No.
UsageCount
The number of times the shortcut has been used since its creation.

Command line options

Clavier+ accepts the following command line options:

/launch
Launches Clavier+ if it is not running yet, then lets it execute in the background. The settings window is not displayed.
/settings
Launches Clavier+ in the background if it is not running yet, then displays the settings window.
/menu
Launches Clavier+ in the background if it is not running yet, then displays the Clavier+ menu. The menu can be displayed manually by right clicking Clavier+ icon near the system clock.
/quit
Quits Clavier+ silently. Does nothing if Clavier+ is not running.
/addtext
Displays the window for adding a text shortcut. First launches Clavier+ in the background and displays the settings window, if necessary.
/addcommand
Displays the window for adding a program launching shortcut. First launches Clavier+ in the background and displays the settings window, if necessary.
/load configuration_file.ini
If Clavier+ is not running, launches it and loads the given configuration file. If Clavier+ is running, does not launch it again but loads the specified configuration file. Enclose the filename in quotes if it contains spaces, for example: clavier.exe /load "Internet shortcuts.ini"
/merge configuration_file.ini
If Clavier+ is not running, launches it and merges the default configuration file (or the one specified by /load, if any) with the specified configuration file. If Clavier+ is running, merges the current configuration file with the specified one. Does not add merged shortcuts that create conflicts or ambiguities with the current shortcuts.
/sendkeys "text"
Simulates text typing. The text follows the syntax specified above. This option allows, for example, to type text when double-clicking on a Windows shortcut, or at Windows startup, or when choosing a command in the Explorer context menu. Quotes and backslashes must be escaped with a backslash, for example: clavier.exe /sendkeys "Write a \"quoted\" word and a single \\ backslash"

If Clavier+ is launched without any argument, the behavior depends on whether Clavier+ is already running. If no, launches Clavier+ silently. If yes, does not launch Clavier+ again but display the configuration window. This allows accessing Clavier+ options even if its icon is hidden.

Known issues

Unavailable shortcuts

Clavier+ cannot capture a few special keys:

Print Screen
Pause

The special keys “Refresh browser”, “increase volume”, etc. are partially supported. Shortcuts using them can be created, and it is possible to modify their original behavior. However the action of these keys is executed when they are pressed in the Add dialog box. Moreover, as Windows does not provide a generic method to get the name of these special keys, they are named with a number (for example: #183).

Windows system shortcuts cannot be modified. As of Windows 8 it includes most Win + letter and Win + digit shortcuts. The Microsoft documentation lists them all.

Discouraged shortcuts

By default on Windows, the Alt + Shift shortcut changes the keyboard layout. You are strongly discouraged to use shortcuts like Alt + Shift + key, because you could change the keyboard layout by mistake.

Partially incompatible programs

Clavier+ may encounter difficulties with some programs when typing text or simulating keystrokes:

Repetition

Some shortcuts do not allow fast repetition: you may have to release all special keys (Ctrl, Alt, etc.), and then press them again to repeat the shortcut. For instance, if you associate actions to Ctrl + A and Ctrl + B, to execute the two shortcuts sequentially you cannot do simply press Ctrl + A then release A and press B. You have to press Ctrl + A, release all keys, and then press Ctrl + B.

This limitation exists because Clavier+ has to release the special keys for shortcuts that simulate other shortcuts or launch programs. This avoids the shortcuts to mix and the launched programs to detect that some special keys are down. For example, if Ctrl + A is associated to [Alt+B], Clavier+ releases the Ctrl key, otherwise Ctrl + Alt + B would be simulated instead of Alt + B. For technical reasons, Clavier+ cannot determine whether the user has released or not the special keys before the end of the shortcut, indicating whether or not they should be pressed again to allow shortcut repetition. To avoid buggy keyboard behavior, Clavier+ never presses the special keys down again.

Frequently Asked Questions (FAQ)

You can access the last version of this FAQ in Clavier+ page.

Clavier+ does not work or no longer works !

If the articles below do not provide a solution to your issue, you can read the help forum or contact me at guillaume@ryder.fr

I develop Clavier+ for free in my spare time therefore I offer no phone support.

I cannot help you with questions related to any software other than Clavier+. For instance Clavier+ cannot do anything about it if you see error messages when launching MS Outlook with a keyboard shortcut, or if the new version of some software is incompatible with Clavier+.

Please be accurate and informative in your messages. Read this article to get the idea.

How to automate an action in MyFavoriteProgram with Clavier+?

Clavier+ is a self-service software. As each use case is unique, it is up to you to configure it according to your needs. I will not find the right keystrokes for you. I cannot help you with programs other than Clavier+.

You can of course contact me to report Clavier+ bugs, ask for documentation clarification, request a new feature, etc.

Which Windows versions is Clavier+ compatible with?

The latest Clavier+ version is compatible with all NT family Windows versions: 2000, NT, XP, Vista, 7, 8, 10. The older Clavier+ versions are compatible with Windows 95/98/ME too.

Clavier+ can’t write text in MyFavoriteProgram!

Some programs such as Microsoft Edge (the Windows 10 web browser) handle the keyboard in a non-standard way, preventing Clavier+ from writing text. To get around this problem, surround your text with [| and |], as below:

[|My text|]

If the manipulation described above does not work, do not contact me. I cannot answer questions related to incompatibilities between Clavier+ and other software.

Does Clavier+ work with games?

Most of the time, no. Games access the keyboard in low-level, for various raisons: speed, cheat protection.

How to write special characters? \ [ ] { } |

Some characters have a special meaning for Clavier+: \ [ ] { } |

You need to escape when with a backslash to write them. Example:

This is a bracket: \[, this is a single backslash: \\

How to write formatted text, e.g. bold, hyperlinks?

There is no standard way to format text: the exact procedure depends on which program you want to write text in (Word, Excel, OpenOffice).

The AutoText feature of Word allows inserting any formatted text block. With other programs, you can use keyboard shortcuts. For example, Ctrl + B often toggles the bold attribute. To make a word bold, one can write:

A [Ctrl+B]bold[Ctrl+B] word

Again, formatting hotkeys depend on the program you are using. Please refer to its documentation for more details.

Is Clavier+ available on Mac, Linux, tablet, smartphone, or any other non-Windows system?

No, Clavier+ works with Windows for PC only. I have no plans to port Clavier+ to Mac, Linux, Android, iOS/iPhone/iPad, Windows Phone, or any other system. I don’t know if these systems offer a Clavier+ equivalent. Porting Clavier+ to another system would require a full rewrite therefore a lot of work.

How to protect Clavier+ with a password?

Access to the Clavier+ shortcut list cannot be password protected. Indeed, storing data in a secure fashion is both difficult and restrictive in terms of available features. I strongly recommend using software specialized in passwords storage, such as KeePass, Password Safe or RoboForm.

How to make the numpad period key write a comma?

Click the plus shaped button, choose Write Text, press the numpad period key, then click the OK button. Write a comma in the Write text area.

How to create a shortcut to a special folder: My computer, Control panel, …?

In Windows Explorer, create a Windows shortcut to the special folder: press the right mouse button on the special folder, drag the mouse to another folder (for example C:\), release the button and choose Create shortcut here in the popup menu.

Then, in Clavier+, create a Launch a program keyboard shortcut that executes the Windows shortcut you have just created. You have to write the full path manually, and to append the .lnk extension. For example: C:\My computer.lnk if you have created a shortcut named My computer in the folder C:\.

Some special folders can be opened without the need for a shortcut. For instance, ::{20d04fe0-3aea-1069-a2d8-08002b30309d} opens My computer. The CLSIDs marked as supported by Run in this list are also available.

How to open a folder in Explorer and display the tree pane?

In the shortcut command line, insert explorer /e, before the folder path; make sure to write a comma after /e. For example: explorer /e, C:\

How to remove Clavier+ icon from the traybar?

Launch Clavier+ then quit it. Double-click on the Clavier.ini file located in the same directory than Clavier+. In the second line, that begins with Size=, replace the last zero by the digit one. For example: Size=923,501,0,0 should become Size=923,501,0,1.

As Clavier+ icon will no more be visible, you will have to launch Clavier+ twice to display its configuration window (once to launch it, once to display the window).

How to write a line return with a shortcut?

Three solutions:

How to simulate the key XYZ

Click the arrow-shape button, choose the command Simulate a Keystroke.

How to change the sound volume?

There are three keys related to sound volume:

To simulate those keys and change the volume with your keyboard, create a shortcut with Clavier+ in text mode, then write the key code in the Write text area, between brackets.

You can use the program VolumeManager to adjust the volume finely.

How to control a music player: next track, pause, etc.?

There are four keys related to music players:

These keys work even if the music player in not the active application. To use them, create a shortcut with Clavier+ in text mode, then write the key code in the Write text area, between brackets.

How to control the Internet browser: previous page, favorites, etc.?

There are several keys related to Internet browsers:

These keys work only if the Internet browser is active.

The checkbox Launch Clavier+ at Windows startup doesn’t work!

Create a shortcut to Clavier.exe in the Startup folder:

  1. Press Win + R, enter: shell:startup
  2. Right click in the Startup folder window, choose New, Shortcut.
  3. Enter the path of Clavier.exe.
How to launch two programs at once?

The solution is to enclose the path of the two programs in double brackets, in the Write text area. For example, to launch notepad and the calculator:

[[notepad.exe]][[calc.exe]]
How to simulate a mouse click, a double-click, a right click?

You need to create a shortcut of type Write text and use the [{MouseButton,code}] special command. For example, to simulate a left click: [{MouseButton,L}]. For a double-click, execute two left clicks: [{MouseButton,L}][{MouseButton,L}]. For a right click, use the R code: [{MouseButton,R}].

How to do more complicated things, like writing the current date

You can create a VBScript program and ask Clavier+ to execute it. The generic procedure is the following: launch Notepad, write the text of your script, save it with the .VBS file extension, then associate a shortcut to it with Clavier+.

An example: write the current date in the active program.

set shell = WScript.CreateObject("WScript.Shell")
shell.SendKeys Date()

If you want to write the date in another format, you can use the VBScript date functions.

How to transfer Clavier+ settings to a new computer?

To keep your Clavier+ shortcuts after upgrading or reformatting your computer, you can transfer the Clavier.ini configuration file, located in Clavier+ directory. Detailed procedure:

  1. On the new computer: install Clavier+.
  2. On the new computer: click on Quit in Clavier+ configuration window, then confirm.
  3. Copy the Clavier.ini file located in Clavier+ directory from the old to the new computer.
  4. On the new computer: restart Clavier+.
Clavier+ loses its configuration whenever I restart my computer!

Clavier+ saves its configuration in a file named Clavier.ini. If it cannot do that, Clavier+ displays an error message Unable to save the settings and your changes are lost when you exit Clavier+. It is often a permissions issue: Clavier+ needs write permissions for the configuration file. To solve the issue, install Clavier+ in a directory where you have write permissions.

All my shortcuts have disappeared!

Read the article above if Clavier+ displays the Unable to save the settings error message.

If your shortcuts have suddenly disappeared without any error message, several users have reported the issue in the last few years but I have been unable to diagnose or reproduce it.

Shortcuts examples