Can I block the QAP menu trigger (Middle Mouse Button) if it interfere with one of my other apps?
Yes. There may be some applications where the user does not want the QAP menu mouse trigger (by default, Middle Mouse Button) to interfere with the app’s normal behavior. QAP allows to block the QAP mouse menu based on the window title, window class or process name.
But, before considering blocking hotkeys, you could first see if another hotkey would best fit your needs. If yes, use the Options window, tab Popup Hotkeys to select different triggers for the QAP menu.
If you prefer the exclusion approach, open the Popup Menu tab in the Options. In the Mouse trigger Blacklist or Whitelist text zone, select the exclusion (Blacklist) or inclusion (Whitelist) approach and enter any part of the window title of the application to exclude or include (the window title is what appears in the top horizontal bar of the window). You can enter multiple exclusions, one per line.
For example, to exclude Google Chrome and Microsoft Word applications, select Blacklist and enter the following two lines in the exclusion list:
Google Chrome Microsoft Word
Click Save and try the to open the menu again in these windows. The menu won’t show up. The QAP hotkey is disabled and the Middle Mouse Button click is sent to the target window as if QAP was not running.
Excluding dialog boxes
By default, QAP will only block the mouse hotkey in the app’s main window. You can also disable the mouse hotkey in app’s dialog boxes by adding the prefix * (asterisk) to the title or the class name, for example:
In this example, the mouse hotkey will be blocked in both the 3D Studio Max main window and in its dialog boxes.
To be more specific
Using this technique, there may be situation where a window title in another app could include one of the exclusion strings you entered. For example, if you save a file in Notepad under the name “My Microsoft Word tips and tricks.txt”, this window would be excluded because it includes the string “Microsoft Word”. But you can be more specific with this:
- Microsoft Word
Adding the dash and space at the beginning of the string will exclude Word windows because the app name in the Word’s title bar is always preceded by the document name and a dash between spaces.
To be a bit more technical
Another way to be more specific is to enter part of the app’s “window class name”. For example, Word’s windows class name is “OpusApp” and Chrome’ windows class name is “Chrome_WidgetWin”. So, these two exclusion lines could be:
You can also exclude an application based on its process name. This is a solution for applications having variable class names. Usually, the process name is the file name of the application’s executable file, for example the Chrome process name is “chrome.exe” and the Word process name is “winword.exe”. So, the exclusions list could also be:
How can I find a window class name, process name or a window title if the app has no title bar?
To identify the window you want to exclude, use the Get window info button at the bottom of the Exclusions list in the Options dialog box. It will prompt you to click in the target window with the QAP menu hotkey (Middle Mouse Button) and will copy the window title, class name and process name in your Clipboard. Paste this info in the exclusion list and edit it to remove unnecessary parts as described above.
There are other tools to gather more info about windows. I recommend this freeware utility: WinLister by NirSoft.