Preventing Green Window Button from hiding menu bar.

[edited]
In most programs, clicking this green button makes the window full screen. I want to disable that and replace it with what I normally do; option-click to have it just ‘Zoom’ (size the window to the maximum area, not changing dock, menu et al).
How do I use BetterTouchTool to make a plain click of the green button do “Zoom”and not “Enter Full Screen”?
If BTT uses behind the scenes terminal commands for this result, I would love to have the actual text for that so I can reverse it if I need to in the future.
–newbie

Copy and paste this under the "Automations, Named & Other Triggers" section for all apps:

[
  {
    "BTTLastUpdatedAt" : 1776434627.069896,
    "BTTTriggerType" : 615,
    "BTTTriggerTypeDescriptionReadOnly" : "Leftclick Green Window Button",
    "BTTTriggerClass" : "BTTTriggerTypeOtherTriggers",
    "BTTUUID" : "5B922CE9-A33F-42E6-BB06-EFAAAE8B4D73",
    "BTTOrder" : 26,
    "BTTActionsToExecute" : [
      {
        "BTTLastUpdatedAt" : 1776434654.437813,
        "BTTTriggerParentUUID" : "5B922CE9-A33F-42E6-BB06-EFAAAE8B4D73",
        "BTTIsPureAction" : true,
        "BTTUUID" : "B9E061EF-B571-43FF-AC02-77515F9E646B",
        "BTTPredefinedActionType" : 107,
        "BTTPredefinedActionName" : "Zoom Window Under Cursor",
        "BTTOrder" : 393
      },
      {
        "BTTLastUpdatedAt" : 1776434653.4548321,
        "BTTTriggerParentUUID" : "5B922CE9-A33F-42E6-BB06-EFAAAE8B4D73",
        "BTTIsPureAction" : true,
        "BTTUUID" : "34FCE095-C698-4433-AC77-680A17AAE349",
        "BTTPredefinedActionType" : 21,
        "BTTPredefinedActionName" : "Maximize Window",
        "BTTEnabled2" : 0,
        "BTTOrder" : 394
      }
    ]
  }
]

Both actions, in this config, should do the work. You can delete either one I believe.

LOL! I really hope that this would work but it does nothing:

Will try and refine mine to what you show, and if not I'll try the other person’s code.

I see you selected "Other(e.g. middle)", what if you try with what I've configured - to use leftclick; is it working?

I adjusted my settings to what you show in this image. It works, but it disabled the normal behavior of option-click (cycles between max-to-fit or default window size).

Yes, I've noticed this as well. I'm trying to create more robust solution.

1 Like

Sorry, didn't realize the code and the image were both from you.
Is the code different? Might it not disable the normal functionality of the option-click the green button?

Thanks!
With any luck, I can learn how to use BTT to disable all of the OS features that slurp and slide, but can't be adjusted from regular menus. I have to change dozen settings to get Tahoe in tolerable shape.

you can also configure it like this if this better matches the behavior you need

I was going to try with some conditions etc., but there's this simpler solution. I was not aware of that action at all, nice one.

This looks like what you set up, but for me, it still behaves like the default for green button. Does the type of mouse I'm using have any effect on it? I've got a Logitech.

do not activate this (if you set it to only trigger while holding opt, then you basically tell it to "click with opt+left click when clicked with opt+left":

Thanks! That works with all the other applications but for some reason, not FileMaker. Figures a product that comes through Apple is the outlier!
I see that this also negates being able to toggle the window size from original full screen.
But I'm happy to never have it fully take over the screen anymore.