4 July 2006 — Posted by Allan Odgaard
Full-screen Mode via Megazoomer
Megazoomer makes windows full-screen. Just press Command-Enter, and the front-most window grows to fill your entire monitor. Press the same keys, and it shrinks again.
So for all of you who patiently wait for this to become a native feature, now there is a workaround. (Via Brad Choate and now has a thread on the mailing list.)
04 Jul 2006 | # gian wrote…
Why not using smultron’s code??? In the 2.0 version there is also the split window feature. You may try to get the code for that, too.
04 Jul 2006 | # oliver wrote…
Yes, I am waiting patiently.
04 Jul 2006 | # Matt Tavares wrote…
full screen is a pretty simple addition, use
CGDirectDisplayto put a sheilding black window over the application. The only problem is implimenting the windows to flow nicely with full screen (like those pretty HUD windows in apperture).04 Jul 2006 | # Allan Odgaard wrote…
Another problem is that
CGDirectDisplaydisables the visual cmd-tab feature, universal access (zoom), the menu bar, etc.Here is a letter from the mailing list about full screen.
04 Jul 2006 | # Matt Tavares wrote…
hmm, i have implimented it a few times and never noticed it.
It would be pretty simple to create a work around though, infact the entire thing could be achieved with
NSWorkspace.Do something like:
NSArray *launchedApplications = [workspace launchedApplications];
then collect only the app names in an array
then its just a matter of iterating and collecting icons:
use tab triggers (would require a bit of code that i cant do offhand) to cycle through, some OpenGL and use NSWorkspace to launch the application, its a bit hacky but im pretty sure its what they use in iPhoto and other full screen apps.
04 Jul 2006 | # Alex Kadis wrote…
Megazoomer doesn’t completely work for me… When I type cmd+return I just get a new line in my current file. However if I use the menu “Window > Mega Zoom” it works.
Any idea why the keyboard shortcut wouldn’t work?
04 Jul 2006 | # oliver wrote…
‘Cause it’s built that way. (ie. it lets other things override the shortcut)
In the “Keyboard & Mouse” System Preferences you can change the Mega Zoomer shortcut to something that isn’t used in TextMate (like command f12).
04 Jul 2006 | # Alex Kadis wrote…
@oliver: Thank you!
06 Jul 2006 | # charles wrote…
it took me a sec. to figure this out since I’ve never used the Keyboard and Mouse system preference, so incase alex’s instructions weren’t detailed enough:
09 Jul 2006 | # shmuel wrote…
I just wanted to take a moment to say that I too would LOVE to see this feature implemented. I just downloaded Write Room by Hogbay Software and while I love the ability to switch into full-screen mode I miss the power of TextMate. It’s wonderful to block out the distractions of the rest of my desktop while writing but it’s also wonderful to have the handy text triggers and such found in TextMate.
09 Feb 2007 | # Jiyoon wrote…
ctrl-cmd-return key ver.
11 May 2007 | # JR wrote…
Hey, if you ever implement it, it would be great if the text was centered in the middle of the screen. You know what I mean? Right now with MegaZoomer, you get into full screen, but if you have the text to be just 80 columns width, you will have the text on the left side of the screen and then a big black area (I’m using a black color for the background of the text) on the right side. It would be great if those 80 columns of text were in the middle of the screen with margin on both sides, so you focused on the middle of the screen and not the left side.
Thanks
A registered user ;-)