Forums list
New topics
Topics list
Search
Help
Login
Register


Topic: «[SOLVED] Matching a window class without a specific caption » on forum: Technical Support   Views: 528
 
Robert Benaroya
 
Posts: 12
Joined: 05/23/2024
Posted: 10/13/2024 08:12:17
 
 
Hi,

I use AWM with Firefox to set up position and size.

AWM found it uses the "MozillaWindowClass" class.

But I have an addon popup that also uses it, and which should not be resized.

Its caption is: "Tab Mix Plus Options"

How can I exclude this popup?

I tried several regular expressions like: "^(?!.*Tab Mix).*$'

but none that I could think of worked.
 
Top
Bogdan Polishchuk
Administrator
 
Posts: 4087
Joined: 04/04/2012
Posted: 10/26/2024 12:21:36
 
 
Hello, Robert

Thank you for contacting us.

Could you clarify why the exclusion need to match a window without a specific caption? Are there other Tab Mix Plus windows which you want to exclude as well besides Options?
 
Top
Robert Benaroya
 
Posts: 12
Joined: 05/23/2024
Posted: 10/26/2024 13:44:45
 
 
That's because the "MozillaWindowClass" corresponds to the Firefox browser.

Tab Mix Plus is an add-on. Actual sees it as the browser itself.

This TMP window is normally a small settings popup with fixed size that you cannot resize manually.

I have a rule for Firefox to resize it at almost full screen.

There is no other TMP window.
 
Top
Bogdan Polishchuk
Administrator
 
Posts: 4087
Joined: 04/04/2012
Posted: 11/03/2024 21:39:22
 
 
Robert,

An exclusion is not applied to a window if some of specific settings can be applied to the window. Exclusions prevent Default Settings from being applied to windows which you would like not to be processed.

In your case you can create another specific settings for the Options window of Tab Mix Plus, and make sure changing of position and size is disabled in these settings. It seems like the window has the caption "Options" so you can enable the Caption window parameter additionally in the Target Window section of the settings and specify "Options" without quotes and select the Exact match mode.
 
Top
Robert Benaroya
 
Posts: 12
Joined: 05/23/2024
Posted: 11/03/2024 22:00:18
 
 
Quote
Bogdan Polishchuk wrote:
Robert,

An exclusion is not applied to a window if some of specific settings can be applied to the window. Exclusions prevent Default Settings from being applied to windows which you would like not to be processed.

In your case you can create another specific settings for the Options window of Tab Mix Plus, and make sure changing of position and size is disabled in these settings. It seems like the window has the caption "Options" so you can enable the Caption window parameter additionally in the Target Window section of the settings and specify "Options" without quotes and select the Exact match mode.

Hi,

That's an interesting suggestion.

I tried it, but maybe I did not understand exactly because it does not work so far.

I created an exclusion for the TMP window, which is seen by Actual as a LibreWolf one:

User added an image

But when I click the left Actual symbol, I see that Actual does not use the exclusion:

User added an image

What did I do wrong?

Maybe it's because there is already a specific LibreWolf setting that takes precedence?
 
Top
Bogdan Polishchuk
Administrator
 
Posts: 4087
Joined: 04/04/2012
Posted: 11/08/2024 01:41:52
 
 
Robert,

Quote
Maybe it's because there is already a specific LibreWolf setting that takes precedence?
This is what I wrote about in my previous message - if there are specific settings which can be applied to a window (window matches the Target Window parameters values of the settings) then an exclusion won't be applied to the window even if the exclusion's Target Window parameters are specified more precisely for this window.

Instead of exclusion try creating specific settings for the Tab Mix Plus window. Use the crosshair tool from the Target Window section of the new specific settings to point to the window and release it - the Target Window parameters fields will be filled automatically with the window's parameters values. Then additionally enable the Caption parameter in the Target Window section. Then disable the size and position options in these specific settings and apply the changes.

I'm confused as to what the Program parameter of this window is. Previously you wrote:
Quote
Tab Mix Plus is an add-on. Actual sees it as the browser itself.
So is it Firefox.exe or LibreWolf.exe?
 
Top
Robert Benaroya
 
Posts: 12
Joined: 05/23/2024
Posted: 11/08/2024 02:16:08
 
 
That works!

I misunderstood your previous post, in hindsight it's obvious now.

My apologies for the Libre/Fire confusion.

In my mind, these are 2 similar programs, but of course I need now 2 rules for firefox.exe and 2 rules for librefox.exe.

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