Forums list
New topics
Topics list
Search
Help
Login
Register


Topic: «The 2-character long rule to exclude hidden or non-windows » on forum: Window Rules, or Tips and Tricks   Views: 3166
 
aph
Registered user
 
Posts: 50
Joined: 18.03.2014
Posted: 16.05.2014 18:28:14
 
 
Enable logging to see how this can have AWM skip over most of the windows. On my machine it is on the order of 90% or more by this single rule, and no false positives.

Quote
All unnamed windows

[✓] Window caption: ^$
(•) Regular Expression
Open the log window and hit Apply or OK to have AWM reprocess all the windows and you will see the difference. And probably feel it since there is so much less processing.

It's the "^$" part that matches any blank windows. IMO this should be default behavior. :)
 
Top
aph
Registered user
 
Posts: 50
Joined: 18.03.2014
Posted: 16.05.2014 19:10:07
 
 
Some of my other rules:

Quote
Windows system dialogs

[✓] Window class: #32770
[✓] Program: C:\Windows\System32\*.*
Change to C:\Windows\*.* if you want a broader match on dialogs, like there is for popup menus. I would keep it there though since some utilities pop up as dialogs.

Quote
Windows Immersive

[✓] Window class: Immersive
[✓] Program: explorer.exe
That's a substring match, it's undocumented but it works. Similar method and target here, for the Modern flyouts while on the desktop (Win+P, Win+I, Win+S, etc.):

Quote
Windows modern shell

[✓] Window class: ATL:
[✓] Program: explorer.exe
Some may be specific to my setup but the first one should apply in most cases.

A few other classes I exclude globally are:
  • Photoshop font change: CoolTypeFontChange
  • Photoshop OpenGL: NVOpenGLPbuffer
  • Windows Networking: WNPGeneric
  • Chrome Omnibox: _SearchEditBoxFakeWindow
  • Windows Push: PushNotifications
  • Windows Ribbon UI: KbxLabelClass
  • Windows Modern Store: MetroGhostWindow
  • Windows-related, forget exactly: NativeHWNDHost
  • Windows Services: WSHostControl

Here's a screenshot of mostly the first one:

a066955f625b71e2d6c4973287521b8c
 
Top
Alexander Mihalkin
Administrator

 
Posts: 502
Joined: 21.04.2014
Posted: 30.05.2014 18:34:34
 
 
Dear aph,

Thank you for sharing your rules!

We will consider adding the first one to the default configuration.

Best regards.

support@actualtools.com
 
Top
aph
Registered user
 
Posts: 50
Joined: 18.03.2014
Posted: 25.09.2014 11:21:53
 
 
Not included in 8.1.4 yet so here is my latest up-to-date list of exclusions.

These are the only ones I have, the default ones are disabled including Standard Windows Combobox, the half dozen Microsoft Office ones and Menu Programs + Start Menu, since the first rule covers them.

The Class substring matches are deliberately broad especially around the System Tray as I recently decided I wanted 100% coverage and this was the easiest way. I am still at 0 false positives.

Edit: Regex support, or even case insensitivity, for class names like there is for captions, would easily cut these down in half

6cd3a759628243eff845fb333fe23e00
 
Top


User(s) reading this topic
Number of guests: 1, registered members: 0, in total hidden: 0


Forums list
New topics
Topics list
Search
Help
Login
Register