Can I insert values in favorites location or parameters using placeholders?

The features described in this page require Quick Access Popup v9.1.2 or more recent.

You can insert values for in Snippets content and in favorite's Location, Parameters and Start In fields (for all types of favorites supporting these options). Placeholders content are  based on:

  • the current content of your Windows Clipboard;
  • the favorite's own location;
  • the current folder in Windows Explorer.
  • (in a future release: the selected item in Windows Explorer).


You can use the Windows Clipboard to insert variable pieces of text in your snippets or in various paths in favorites dialog box. When you launch your favorite, QAP automatically replaces the placeholder "{Clipboard}" (without the quotes) with the current content of the Windows Clipboard.

For example, in the following Snippet example, the Clipboard's content will be inserted in the second line between the arrows. If the Clipboard contains an image or binary data, nothing is inserted.

In this second example, the content of the clipboard is sent as parameter. The content of the Parameters zone is expanded in the preview zone named Current parameters with expanded placeholders at the bottom of the dialog box. It shows what would be the parameter sent to the application with the current Clipboard's content.

The example above is a working example for browsers applications Chrome, Firefox and Internet Explorer. This parameter will automatically launch your browser to search for the text contained in your Windows Clipboard. Make sure you include the quotes correctly to include all word in the search. If you want to search for an exact expression, add surrounding quotes like this: "? \"{Clipboard}\"" (the backslash "\" acts as an escape character for quotes inside the parameter.

If you use the browser Microsoft Edge, simply enter in the Parameters zone {Clipboard} (no quotes) for a normal search or "{Clipboard}" (with quotes) to search for an expression.

Favorite's location

In an Application favorite, you can re-use the favorite's location (or part of it) in the Start In or the Parameters fields. For example "{DIR}" in the the Start In field will be replaced with the favorite's location folder. The following examples are based on the favorite's location "C:\MyFolder\MyFile.exe":

  • {LOC} for full location ("C:\MyFolder\MyFile.exe")
  • {NAME} for file name ("MyFile.exe")
  • {DIR} for directory ("C:\MyFolder")
  • {EXT} for extension ("exe")
  • {NOEXT} for file name without extension ("MyFile")
  • and {DRIVE} for drive letter. ("C")

In the following example, an Application favorite named My App with data file will be open with a parameter based on the application's folder.

The Parameters field below includes the "{DIR}" placeholder with a file name "Client.DAT". The second red box shows that the "{DIR}" placeholder will be expanded taking into account the applications' location from the above screen capture.

Multiple parameters can be inserted in this field. Each parameter must be enclosed between quotes. Also, do not forget that, even if there is only one parameter, a parameter must be enclosed between quotes if it contains spaces.

Current folder in Explorer

You can also use the placeholders "{CUR_LOC}", "{CUR_DIR}", etc. that will be replaced with the current location of your Explorer window (window under the mouse pointer or active Explorer window when you open the menu). Let's say you have various folders with the same subfolders structure, for example:


You can create favorites of type Folder or Document that will be opened in a given subfolder under the current (or active) folder in Windows Explorer. For example, a favorite Folder named Current Client's Signed Contract would open the Signed subfolder for Client-1 if you are in the C:\Client-1 folder, or for the second client if you are in C:\Client-2, etc.

Create a favorite folder with the Folder (path) {CUR_LOC}\Contract\Signed in the Basic Settings tab:

When you will launch this favorite, QAP will get the current folder (in Windows Explorer, Directory Opus or Total Commander) and will replace the placeholder {CUR_LOC} with the detected current location. To avoid "folder not found" errors, make sure you have a strictly constant subfolders structure and that you always use this favorite in the appropriate folder (a "root" client folder in our example).

Current location placeholder can be inserted in location for favorites of types Folder, Document and Application.

You call also use these placeholder variations:

  • {CUR_LOC} for full location
  • {CUR_NAME} for file name
  • {CUR_DIR} for directory
  • {CUR_EXT} for extension
  • {CUR_NOEXT} for file name without extension
  • and {CUR_DRIVE} for drive letter

Note: Remember that, in QAP, the relative path conventions .\ for current folder or ..\ for parent folder are processed relatively to QAP's working directory, not to the current directory in your Explorer window.

See also this page for more info about the Start In and Parameters settings: Can I pass the current folder as parameter to an application launched with QAP?.

Please use the new QAP Support Google Group to ask questions or post comments.