Mac OS X - programmatically resize windows

I would like to know how applications like Divvy , Cinch , SizeUp , etc. resize / move windows belonging to other applications? I know this may include private APIs. Or do they all use AppleScript? Are there any resources on how to do this?

+6
cocoa macos
source share
1 answer

A while ago I wrote about using AppleScript to do just that. Basically follow these steps:

tell application "MyApp" set the bounds of the first window to {x, y, width, height} end tell 
+7
source share

All Articles