Re: Maximize/Restore window on OS X (aka Zoom)

From: vais <vsalik....at.gmail.com>
Date: Mon, 16 Feb 2009 07:45:41 -0800 (PST)

Based on the overwhelming response, let me re-phrase the question :)

Is it possible to access screen metrics from Lua? I.e. width and
height - this way I could roll my own maximize and restore.

Thanks in advance,

Vais

On Feb 15, 9:03 pm, vais <vsalik....at.gmail.com> wrote:
> On OS X, there is usually a menu item with an Apple+M keyboard
> shortcut for each application that minimizes the window. I used System
> Preferences -> Keyboard & Mouse -> Keyboard Shortcuts to set up an
> Application Keyboard Shortcut for All Applications called Zoom and
> mapped to Shift+Apple+M. This works for all my apps except for
> textadept (and Firefox).
>
> So, is there any way around this that you know of? Or perhaps a way to
> simulate window maximize and restore in Lua?
>
> Any ideas would be appreciated,
>
Received on Mon 16 Feb 2009 - 10:45:41 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:37:26 EST