Minimize, Restore, and Maximize Windows on Mac OS X
jjweimer
MoveWindow 0, 0, 0, 0
MoveWindow 1, 1, 1, 1
MoveWindow 2, 2, 2, 2
MoveWindow 1, 1, 1, 1
MoveWindow 2, 2, 2, 2
... do special things on Windows systems since Igor 3.1. Now that MacOS X has a task bar and the ability to maximize windows, I wonder whether we MacOS users might be able to enjoy a similar "advantage" to manipulating them. Actually, I would like to see the special usage for Windows users completely removed in favor of a MoveWindow/X=? flag across all platforms where ...
MoveWindow/X=0 // minimize the target window (to the active task or side bar)
MoveWindow/X=1 // restore the target window
MoveWindow/X=2 // maximize the target window
MoveWindow/X=1 // restore the target window
MoveWindow/X=2 // maximize the target window
This would take the coordinates back to their pre-Igor 3.1 meanings as being strictly coordinate values all of the time independent of platform.
We can never go backward. It breaks existing user code.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
April 22, 2009 at 09:46 am - Permalink
Fair enough.
Giving us Mac users the same ability to shrink/restore/maximize windows as on Windows with the MoveWindow ... special sets would be nice. I tried to find a way to send the command via Applescript. Although a shrink window to dock option might be doable this way, I could find nothing that restores a given window from the dock - suggestions were in fact that such methods are unsupported anyway.
--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAH
April 22, 2009 at 11:36 am - Permalink