How is built the Switch menu?

The Switch menu is built in two sections. This first part shows the folders already open in the Explorer windows and, if you use this file manager, the Directory Opus listers.

The second part lists running applications (starting with the most recently activated window). Only applications having "visible" windows are listed. System-hidden windows and zero-width/height windows are excluded. Most of the apps in the System Tray could not be listed unless their window is already visible in the task bar.

When you select an item in this menu, its window is automatically activated (bring to the "front"). This menu is refreshed every time you open the QAP menu.

What options in the Favorites dialog box impact how the favorites are launched?

The Add/Edit favorites dialog box has three or four tabs depending on the favorite type. The last tabs determine how the favorite are launched:

  • Window Options: This tab is available only for Folder, Special Folder and FTP favorites. If you uncheck the Use default window position, you can enter the position of the window created when you open a folder in a new window. A configurable delay can be set to augment the window moving/resizing reliability.

  • Advanced Settings: You can set various options depending on favorite types.
    • Launch with this application: Select the executable to launch a folder, a special folder, a document, a link or an FTP site.
    • Start in: Set the working directory for applications. Note that not all applications take this parameter into account.
    • Parameters: Add command-line parameters to the command launching your favorite. It is available for all types of favorites. It supports the following location placeholders: {LOC} for full location, {NAME} for file name, {DIR} for directory, {EXT} for extension, {NOEXT} for file name without extension and {DRIVE} for drive letter. It also supports placeholders for the current location.
    • Encode FTP URL: Available only for FTP site favorites, determine if login name and password added to the FTP site URL are encoded or not (take note that, even when encoded, the password is not encrypted and is saved in the settings file and sent on Internet in clear text - be cautious if your password protects sensitive data!).
    • The following example shows a Document favorite that will be launched with the application Do-it.exe and the /X parameter.

Also, for Applications favorites, the check box If the application is already running, activate it instead of launching  in the Basic Settings can be used to flag if you want to bring this application to the front if is is already running instead of starting a new instance of the app.

Can I change folders in file dialog boxes (Open, Save As, etc.)?

Yes, the main QAP triggers (middle mouse button or Windows+W) can change folders in all software that use the standard Windows file dialog boxes (Open, Save As, etc.). Most software do.

However, this feature must be enabled in Options (first tab General, first option of left column).

If you enable this option, you understand that this feature is reserved to "file dialog boxes" (Open, Save As, etc.). If you use it in other types of dialog box, for example a Preferences dialog box, trying to change folder in this dialog box could modify and save values in the dialog box without any notification (see a more technical explanations below).

In order to enable Change folders in dialog box, you must confirm in the QAP Options that you understand the consequence of misusing the change folder feature in "non-file dialog boxes" and that you will only use it the proper dialog boxes.

Reopen Current Folder in Dialog Box

New! A feature introduced in QAP v8.5 called Reopen Current Folder in Dialog Box under the submenu My QAP Essentials can accelerate your work in file dialog boxes by taking you instantly to the folder you use in Windows Explorer. See this video demo.

Technical explanation

If the Change folders in dialog box is enabled and you select a Folder favorite while the mouse cursor is over a dialog box (or when a dialog box is the active window if you use the keyboard hotkey), QAP sends commands to change the current folder in this dialog box. If the dialog box is not an Open or Save As dialog box, if it is an Options dialog box instead, for example, QAP cannot detect it (because all dialog boxes have the same class name "#32770", regardless of the dialog box task) and QAP will act as if it was a file dialog box.

To change folder, QAP tries to change the content of a text field of the dialog box named internally "Edit1" or "Edit2" (in a file dialog box, this field is usually labeled File name). If it succeeds, QAP sends "Enter" to press the OK button of the dialog box. In a file dialog box, it changes the current folder in the dialog box. Then, QAP restores the initial content of the Filename field and stops, letting the user continue his work.

If the dialog box is not a file dialog box but contains an "Edit1" or "Edit2" (I've seen this situation only once but I have no stats on this), there is a risk to see the text field changed and the "Enter" sent to the OK to the dialog box, saving the changed content without the user consent. I never heard of a case where it really happened, but the risk exist in theory.

Can I launch my favorites with keyboard or mouse shortcuts?

Shortcuts addicts will feel like in a candy store 🙂 !  In Quick Access Popup, any favorite location can be associated to a keyboard or a mouse shortcut. Use the Menu Options tab in the Add/Edit Favorite  dialog box to assign hotkeys.

Shortcuts can be assigned to any type of favorite. Not only to folders, documents or applications, but also to submenus, groups of favorites or QAP features.

When setting a shortcut, QAP check if the shortcut is already assigned to another favorite or to one of the QAP menus triggers. If yes, it will ask for another shortcut.

You can assign a mouse button using the Mouse drop down list. You can also use any key in the Keyboard key selector ("T" in the above screen capture). You can also select special characters like space bar, tab, enter, escape or menu key (also known as "application key" or "context menu key", and displayed "application" in the key selector) by clicking on the desired link under the key selector.

All these mouse buttons or keys can be combined with one or more of the keyboard modifiers on the left side: Shift, Alt, Ctrl and Win keys. You can create shortcuts for Left only, Right only or Any keyboard modifiers. For example, Left Alt + Space and Right Alt + Space can launch different favorites or submenus. In the hotkeys lists, left modifiers are prefixes with "<" (for example "<Alt+Space") and right modifiers with ">" (for example, ">Alt+Space").

You can select None to remove the shortcut or, when a default hotkey is defined for this favorite, click Reset default hotkey to choose the suggested hotkey.

Manage Hotkeys

To get a global view of your keyboards or mouse shortcuts, click the Hotkeys button in the Settings window. In the shortcuts list of the Manage Hotkeys window, you can sort shortcuts by Menu, Favorite NameHotkey or Favorite Location.  Double click a shortcut to change or remove its assigned hotkey.

By default, the list shows only favorites with shortcuts. Check See all favorites to find the favorites for which you could assign a new shortcut.

When should I use the Reopen a Folder menu?

The Reopen a Folder shows the folders already open in the Explorer windows and the Directory Opus listers if you use this file manager. It is refreshed every time you open the QAP menu.

The Reopen a Folder is particularly useful when you are in a file dialog box and want to open a file in a folder already open in another Explorer window. Just select one of these folders in the QAP menu and the dialog box will be moved to it. Change folder in dialog boxes must be enabled in Options.

What is in the Clipboard menu?

The Clipboard menu in the My QAP Essentials menu reflects the content of you current Windows clipboard. If the clipboard contains documents, applications or folders file path, QAP shows this list in the menu, allowing you to open a document, launch an application or navigate to a folder found in the clipboard.

For example, if you select and copy a group of files in Windows Explorer, the list of file paths resides in the Windows clipboard. Quick Access Popup scans this content and adds the files that exists in your system to the Clipboard menu. You can also copy a list of files from a text editor (or any other source) and QAP will display these files in the menu (each line of text must contain a file name/path alone). Relative paths and environment variables are supported.

QAP also scans the Windows clipboard for URLs and displays them as Link entries in the Clipboard menu. In the case of URLs, an address can stands anywhere on a line of text copied to the Clipboard. However, if one line contains more than one URL, only the last one will included in the menu.

If you open the Clipboard menu when the Windows clipboard contains no file or URL, it keeps its previous content until you open the Clipboard menu again or exit QAP.


Can I change to a folder relatively to the folder I am in?

This feature requires Quick Access Popup v7.9.2.3 (BETA) or more recent.

Let's say you have various folders with the same subfolders structure, for example:


You can create a favorite folder that will open a given subfolder under the current folder (the folder inside the active Windows Explorer window). For example, a favorite 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 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 placeholders can also be inserted in location for favorites of types Document and Application.

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?.

Can I pass the current folder as parameter to an application launched with QAP?

When you open the QAP popup menu in a folder and launch an Application favorite, you can use the active folder in two ways:

  • you can pass this folder as the Start In folder (take note that not all applications will use this setting);
  • or you can pass the current folder (or any part of it) as a command-line parameter.

See this page for more info about the Start In and Parameters settings: What are favorites advanced settings?.

Let's see how to use the current folder with this very basic example. First, create a batch file containing the following two lines:

dir %1

In my example, I saved it in C:TEMPMyBatch.bat. We will create two favorites of type Application.

Add an Application favorite and name it MyBatch Start In. Enter the location of your batch in the first tab. In the Advanced Settings tab, check the Start application in the folder location where this favorite is launched checkbox and save the favorite.

Now open Windows Explorer in one of your working folders and, in the QAP popup menu (middle mouse button or Windows + W), launch the MyBatch Start In favorite. You will see that the DIR command is executed inside the current folder because the command is "started" in this folder.

In the second example, we will use the %1 parameter added to the DIR %1 command in your batch file. In the QAP Settings window, click the Copy button to copy the favorite we just created and rename it MyBatch Parameter. In the Advanced Settings, uncheck the Start application... checkbox and insert the code "{CUR_LOC}" in the Parameters zone (make sure you enclose your parameter between double-quotes in case the current folder includes spaces).

in the Current parameters with expanded placeholders text box, you see an example of the command-line parameter that will be passed to your application. The location "x:containing_folderlast_folder" will be replaced with the location where you will launch your application. Save your favorite and launch it in your working folder.

At first sight, the result is pretty the same withe the two favorites. But, in the second case, instead of the Start In option, we used the application Parameters to tell your batch what folder to list.

In real-life situations, you will see what approach to use depending on your needs and on your app's capabilities.

How can I enter multiple parameters for an application favorite?

In favorites advanced settings, you can enter command line parameters (also called arguments) that are added to the application path when the application is launched (more info on this). If you have only one parameter, simply type it in the last tab of the Add/Edit Favorite dialog box. Usually, you would not need to enclose the parameter between double-quotes but this is something you could try if this does not work as expected.

You need to know that not all applications parse command-line parameters the same way. This is why some trial-error may be required. This is especially true if you want to enter more than one parameter. These parameters need to be separated but putting a space between them. But this may not be sufficient because spaces could be part of the parameters. The solution I found (based on my personal experience with a limited number of applications) is to enclose each parameter between double-quotes.

For example, if you want to launch Outlook with two parameters:

  • in Location (first tab) of an Application favorite, enter Outlook.exe (you don't need to enter the full path if the application is properly registered in your Windows environment);
  • in the last tab Advanced Settings, in Parameters, enter "/a c:filename.txt" "/nopollmail" (double quotes around each parameter, one space between the two parameters).

This will launch Outlook without checking mail at startup ("/nopollmail") and will create a new mail item with the specified file attached ("/a c:filename.txt").

But remember that this technique is not universal and may require adjutments depending on the target application.

What are favorites advanced settings?

Advanced Settings give more control on how favorites are launched.

  • Launch with this application: Normally, folders and FTP sites are open with Windows Explorer (or your custom file manager), documents are open with their default application and links are accessed with your default browser. With the advanced setting Launch with this application, you can choose which application will be used to launch your favorite.
  • Parameters: Add command-line parameters to the command that will launch your favorite. This option is available for all types of favorites. It supports location placeholders: for example "{LOC}" in the parameter will be replaced with the full path and file name of the favorite's location. You can also insert in the command-line only parts of the location (examples are based the the location "C:MyFolderMyFile.exe") :
    • {LOC} for full location ("C:MyFolderMyFile.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")

    See also:

  • Can I pass the current folder as parameter to an application launched with QAP?

  • How can I enter multiple parameters for an application favorite?

  • Start in: This advanced setting available for Application favorites allows to set the default working directory for the application. Take note that not all applications will use this setting.
  • Encode FTP URL: When you specify user name and password for a FTP favorite, these values are added to the URL and sent to the FTP server. When enabled, this options make sure login name and password are properly encoded. Some application (like Total Commander) may prefer the values to be sent without encoding. For these apps, uncheck the option.Take note that this encoding is not encrypting. It does not prevent the password from being saved in the settings file and sent on Internet in clear text. Be cautious if your password protects sensitive data!

Can I launch a group of favorites in one click?

Yes. Often favorites for a given project or task need to be launched together. Quick Access Popup let you gather different folders, documents or application that can be launched in one click, each favorite in the group having its own settings. Folder in the group can also have a predefined window position.

You can create and manage groups as you would do for submenus. Favorites can be moved in and out of groups and submenus. If a folder member of the group has its own window location properties (in the Window Options tab), the folder is restored at its location and size. A delay can be configured in group's advanced settings to pace the restoration of group windows.

In the QAP menu, group names are followed by the number of items in the group between double-square brackets (for example: Group name [[5]]) making groups easy to recognize in menus.

Folders in groups can be restored with Windows Explorer or your custom file manager Directory Opus or Total Commander. If you are using Directory Opus or Total Commander, you can set on what side (or pane) of the file manager each folder member of a group will be open. Each favorite on the same side are open in tabs from left to right in the order they appear in the group.