Is there a command to maximize a window (same as clicking the little green ball in the title bar)?
Note, I know about "zoom 1" and fullscreen window messages to [thispatcher], but I don’t want that, as those both remove the title bar. I still want the title bar, but pushed right up underneath the menu, with the left side of the window pushed all the way to the left edge of the monitor. Thanks.
Something like this using [screensize] and [thispatcher] perhaps?
----------begin_max5_patcher---------- 484.3ocuUt0aBBCFF9Z3WQS8VlgVkCtc09Crjc8hYAgNsKXgPqSlF+uu1B3o Mc.Z5E90zuud3sO9R6VaK3rrRBGBdD7FvxZqskkNkJgUceK3xnx3zHtdXPFY c1rOgNUkDjRgN8lT.OkFS.3lRrUKyVIRIB87v0YqRI9NmTsoPni7GXZc4OxX BNcitHBOzsNcdjHdAkM+8BRrnZhAgxpfvQpnWfJhcG5tegj6Nkc9lSSzZUp+ Gvdvi1RVzR8VBetfFkBUE1YaqBN2FVxKH4DVBXMkkjs9uQC5hnoGXAg7Ur.4 oFEXR30AC52fAEZDvH.jRRLHsitE0j5qioAMXsaY7jtil.i5YTmJfKX7XCZa b8pZ76Nb7MiuYAkq0OovPWzzflfwpF+dXat1UM0U3Qe0nyAunT5ImS.7IUXv qpnzZTkALsGXc1JgHi0QG0rH17Cn6hWFOZOa5Jgv2QGBOtfPX5+a6lAIkxEJ xpa68KR9HcrGW751tOfzKnTjrye2VKIU9SYFOaUQbyYrl1NfC5JgvETVjfJs EGMH2SFzBZRBQWuA.KoI4YTlnVDWvL1ZMEzFMEZdMgtyZB44MzStrUO+fvG5 cqpMrMDzyrDzuMZJvrZxsEZBaVNo2t+0o4eCZR1Ym8O.hEZuKA -----------end_max5_patcher-----------
Thanks Luke. For some reason, I had tried a similar approach before without success. I must have missed something. Your solution works like a charm!
As a Windows user, I’m trying to understand why Luke’s patch (above) yields the correct location on a Mac. As far as I know, the Mac menu bar is 22 pixels high, so why does having a vertical offset of 44 work?
For that matter, I am also confused why the patch sits at the top of my PC screen this very moment. Shouldn’t it be moved down by 44 pixels?
As a side note, it would be lovely if "window zoom 1" worked properly on a Mac (i.e., moved the title bar below the menu, rather than behind it).