Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Tile then restore the active app's window positions and sizes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Tile then restore the active app's window positions and sizes
Authored by: philostein on Apr 30, '10 04:05:49PM
The script above has been updated.

In Applescript, System Events no longer handles process names with '.app' on the end - I've corrected the bug in my script. It handles app windows in different spaces better. Works with the Quick Look window in Finder. The script will speak the error if any is encountered. (Better, I think, than 'It doesn't work' when used from a launcher.)

Remember to change _screenWidth and _screenHeight in the script code to reflect your screen size.
Also, 'Enable access for assistive devices' in the Universal Access System Preferences panel must be enabled for the script to work.

This version was tested on Snow Leopard 10.6.3, and written for use with one display.

Cheers, PhilHints

[ Reply to This | # ]