7

How can I move a window so that the title bar of the window is above the menu bar?

I've tried using AppleScript…

tell application "System Events" to tell process "System Preferences"
    set position of windows to {-100, -100}
end tell

…and whilst the x variable works, moving the window partially off-screen, the y doesn't, moving the window up to the menu bar and no further.

I've also tried Keyboard Maestro:

Move Front Window to Position

…but have the same problem: the x value works but the y does not.

This question is related, but opposite: How do I move a window whose title bar is off-screen?
I want to be able to cause the title bar to be off-screen.

  • — do you need the titlebar, and is this for all windows, or one in particular? – l'L'l Dec 23 '13 at 21:20
  • 1
    @l'L'l No, I don't need the title bar — I specifically don't want it ;) Just one window, but the ability to change the window if necessary (don't mind changing the code each time). I literally want to replicate the glitch shown in the screenshot of the linked question, but on purpose, on demand :) – grg Dec 23 '13 at 21:24
  • Ah yes, I'm familiar with that bug, although it's been a while since I've seen it. I think the key to achieving this might be creating your own glitch in this way. Do you recall when it happens? – l'L'l Dec 23 '13 at 22:55
  • 1
    @l'L'l I've had it once ages ago, when I was switching resolutions, but haven't been able to reproduce it. – grg Dec 23 '13 at 23:18
  • 1
    @Matthieu Not quite sure what you mean — it's a bug, but I want to recreate it. – grg Jan 8 '14 at 19:17
2

Finder does not allow this as a general rule. Sometimes a glitch can make this possible, but relaunching Finder usually rectifies it. There's currently no known way to actually get this to happen as a desired behavior, sorry.

  • 1
    And luckily it doesn't! I remember a window opening above my Desktop in OS 7, it was a major pain to get it back in place! – CousinCocaine May 21 '14 at 8:10
2

Not really an answer, more a 'don't try this, it doesn't work'

... one thing not to do is try changing which of 2 screens ought to have the menu bar - unless you want to spend 10 minutes putting all your windows back in the right place

  • I don't know why this was languishing with zero points: this is actually very good advice. It seems such a simple thing to try … until you have to recover from it. – Dave Land Dec 30 '15 at 16:32
  • Thanks for the late upvote :) It gave me chance to spot & fix my typo ;-) – Tetsujin Dec 30 '15 at 16:34
0

1) Download and build Megazoomer, or use this binary
2) copy megazoomer.bundle to /Library/Application Support/SIMBL/Plugins/ (you need SIMBL pre-installed)
3) restart app that you want to maximize
4) press CMD+Enter or choose Window -> Megazoom

Window will be maximized and placed above the menubar so it will take 100% of screen space without actually entering fullscreen mode.

Here is a really big TextEdit.app for your enjoyment (it doesn't support fullscreen out of the box)

http://i.imgur.com/ir4tFQe.png

This plugin will do nothing to Carbon-based applications, since SIMBL will only inject code into Cocoa applications.

  • SIMBL is really outdated. Using such technology on current operating systems may cause problems. – Max Ried Jun 25 '14 at 20:38
  • Use EasySIMBL then – Sergei Jun 25 '14 at 20:40
  • I can't get this to work. I have EasySIMBL and it works fine with other SIMBL bundles, but not megazoomer. The menu option doesn't show and the keyboard shortcut doesn't do anything either. Furthermore, I'm not sure this can do what I need anyway? Can a zoomed app then continue to be moved up? – grg Jun 27 '14 at 14:26
  • No, window can't be moved up any further. Megazoomer works fine for me on 10.9.3 with EasySIMBL. – Sergei Jun 28 '14 at 14:43
0

the only way to get a window fullscreen (not showing the menubar) is to either go to fullscreen mode or write your own Application using CoreGraphic (like programming a game).

So the Apple window handling (integrated in the OS) doesn't impact cause the Application is drawing it selfs via the graphic driver and not via the OS.

  • I don't want an app resizing, just moved up (behind or on top of) the menu bar. – grg Jun 27 '14 at 14:19
  • what do you mean with on top of? really above in z-axis or in y-axis? if you mean in y-axis that's not possible if you mean in z then either use the built in fullscreen mode (so the menubar disapears) or as i said you need to rewrite the App so it draws it selfs direct to the screen and doesn't use the os to draw it's content. if the app uses the os to draw it's content the os draw method will also prevent the app from it's content over the menubar (i really hope it's clear what i tell you this time!) – konqui Jun 29 '14 at 10:30
  • I don't mind if it's in front of the menu bar or behind the menu bar, providing it is moved vertically upwards, beyond the menu bar, as per the screenshot in the linked question. – grg Jun 29 '14 at 15:42
  • This won't work and is s bug of Filezilla i think and in my opinion seeing only half of the App doesn't make sens either. I really can't see any possible Situation were i would need an app to act like this. – konqui Jun 29 '14 at 15:49
-1

Try this:

  1. System Preferences>General
  2. Click Automatically hide and show the menu bar.
  3. The menu bar will disappear.
  4. Drag your window to where you want it.
  5. Uncheck Automatically hide and show the menu bar.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .