[Wishlist] Add the Context menu key to trigger the QAP main menu

From Jörg.

"On notebooks one hardly ever finds a middle mouse button. So you have to compensate for that by using a keyboard shortcut to open QAP. I wonder if it would be possible to use the context menu key (the one between Alt Gr and Ctrl)? I can't remember that I ever used that key and I bet I'm not alone. That key would be perfect as a middle mouse replacement. It's code is E05D."

This key is called AppsKey in AHK. Also called "Menu key" or "Context menu key". This is the key that invokes the right-click context menu.

What hotkeys or shortcuts are set by default when QAP is installed and how can I change them?

During installation, shortcuts are created for two types of hotkeys: popup menu hotkeys and favorite hotkeys.

Popup menu hotkeys

By default, the QAP popup menu can be triggered by the Middle Mouse Button and the keyboard shortcut Windows+W. A second popup menu called Alternative menu is triggered by default by Shift+Middle Mouse Button or Shift+Windows+W. You can change these settings in Options, second tab Menu hotkeys.

Favorite hotkeys

Mouse or keyboard hotkeys can also be assigned to any favorite in your menu. This allow you to launch a favorite without having to open the QAP popup menu and locate your favorite.

At installation time, only some QAP feature favorites are assigned shortcuts. Five of them are in the menu called My QAP Essentials created at installation in the main popup menu. It includes keyboard shortcuts for the following QAP features:

  • Shift-Control-C for Reopen Current Folder in Dialog Box
  • Shift-Control-F for Reopen a Folder
  • Shift-Control-R for Recent folders
  • Shift-Control-V for the Clipboard menu
  • Shift-Control-W for Switch

Two other QAP features and two favorites are also inserted in the main menu during installation:

  • Shift-Control-S for Settings
  • Shift-Control-A for Add this Folder or Link
  • Shift-Control-N for Notepad
  • Shift-Control-Q for Quick Access Popup web site.

You can change all these shortcuts by editing each favorite separately or you can edit all of them in the Hotkeys dialog box: click the Hotkeys button in the Settings window. See also Can I launch my favorites with keyboard or mouse shortcuts?

How do I display the Quick Access Popup menu?

QAP has two types of triggers to open two different menus. Each menu can be open with a mouse button and a keyboard hotkey.

1) QAP menu triggers: default mouse trigger is middle mouse button and default keyboard trigger is Windows+W.

  • These triggers show the QAP popup menu over any window (except those excluded, more info about exclusion list).
  • In the QAP menu, the favorite you choose is launched in a new window.
  • But, if the favorite is a folder and the target window supports folder navigation (Windows Explorer, Console or other file managers), the window location is changed to the favorite folder.
  • Folder navigation is also available for file dialog boxes (Open, Save As, etc.) but this has to be enabled in Options window (see the Options window first tab named General, first checkbox).

Open the QAP menu in Windows Explorer (middle mouse button or Windows + W) to change the folder in the current window


Open the Alternative menu with Shift + middle mouse button or Shift + Windows + W

2) Alternative menu triggers: mouse default is Shift+middle mouse button and keyboard default is Shift+Windows+W.

  • These triggers show the Alternative menu over any windows.
  • In the Alternative menu, you select the actions to apply to one of your favorites (see the list of Alternative menu features in: What are the Alternative menu features?).
  • Then, in the QAP menu, select the target favorite on which the Alternative menu feature will be executed.

Using Explorer Context menus

You can also show the popup menu from the Explorer context menu (right-click menu). On the Desktop, right-click the Desktop (anywhere except on icons) and select Show Quick Access Popup menu. To use the Alternative menu, hold Shift while you right-click the Desktop and select Show Quick Access Popup Alternative menu.

Using the Ctrl+Ctrl hotkey

Since QAP v8, you can also open the main QAP menu by pressing twice the left or right Control key. Enable this feature in the Options window (Alternative Hotkeys tab).

Can I call the Quick Access Popup menu from an AutoHotkey macro?

Yes, but there is small trick you need to know.

First, for those not familiar with AutoHotkey (AHK): this is the programming language used to develop Quick Access Popup. It is also a macro scripting tool. AHK developers could write scripts in which they could integrate a call to open QAP menu by "sending" the QAP menu hotkey (by default Middle mouse button) as if it was pressed by the user.

To call an AHK hotkey in one script from another script using the Send command, in some situations, you must insert the SendLevel, 1 command before the Send command. For example, the script below will call the QAP menu (assuming the mouse trigger for QAP is the default Middle Mouse Button).

#NoEnv
#NoTrayIcon
#SingleInstance Off
SendLevel, 1
Send, {MButton}

If you remove the SendLevel, 1 line, the call will not work. For more info about SendLevel, see AHK doc.

[Wishlist] Support hotkeys for various favorites with the same location but different parameters

Request from Michael.

Michael:

An obscure one I guess... when you define a hotkey (say Ctrl+F9) for an application Favorite it gets saved in the settings file against the application's EXE path. This makes sense, however if you have several favorites defined using the same EXE path - except that each have different command-line params - they automatically all get associated with the same hotkey.

For example I have defined several scheduled tasks in Windows, each with different command line params, e.g.:
C:\Windows\system32\schtasks.exe /run /TN "NoUAC\UAC Revo Uninstaller Pro"

As it stands I don't think QAP supports this approach (hotkeys against an EXE that has multiple matches but different params).

Granted, this one's a bit out of the ordinary, and QAP does work fine if you define these as menu popups alone (no shortkey).

Jean:

Obscure but interesting one... Actually, favorite hotkeys are associated to "location", regardless of other settings (Advanced setting, Live Folder settings, etc.). This is a limitation of the current design.

The solution would be to associate hotkeys to a combination (concatenation) of the location and parameters (and maybe of other settings like "Start In" or "Live Folder" settings), for example:

Hotkey1=C:\Windows\system32\schtasks.exe /run /TN "NoUAC\UAC Revo Uninstaller Pro"|+^x
Hotkey2=C:\Windows\system32\schtasks.exe /run /TN "SomethingElse"|+^y

This may not be so hard. But backward compatibility may be an issue...

[Wishlist] Distinguish left and right keyboard modifiers (Shift, Alt, Control) when creating shortcut hotkeys

From Jim:

I have a feature request. With hotkeys I’d like to be able to specify Left and Right side for Shift, Ctrl, Windows, and Alt (e.g., LCtrl).

As I have QAP configured now, I display my “application” QAP menu using Ctrl+space, my “folder” QAP menu using Alt+space, my “connections” QAP menu using Shift+space, and the main QAP menu using Win+space. I’d like to launch some other frequently used QAP menus using the modifiers on the right side.

[Wishlist] Supporting Mouse-modified hotkeys (combining two mouse buttons to show the menu)

Comments from joby_toss on Portable Freeware forum

I'm also facing a small issue: I'm a "mouse only" guy and Middle Click hotkey to show the menu interferes with my internet browser (close tab, open link in new tab) and my files browser (open folder in new tab), so QAP is stealing it from those apps.
Would it be possible to combine 2 mouse buttons to show the menu (e.g. Middle Click while Right Button is pressed) ?
Thank you!

11+