Hello!
I recently thought of a great idea for window management, but it would require my app to be able to reposition and resize other app's windows. Is this possible and if so what framework could I use to do it.
Thanks!
As far as I know there's no way to control other windows than the ones of your app.
set appname to "Firefox"
tell application appname to set nam to name of front window
tell application appname to set boundsrect to bounds of window nam
set newbds to {(item 1 of boundsrect) + 10, (item 2 of boundsrect) + 10, (item 3 of boundsrect) + 10, (item 4 of boundsrect) + 10}
tell application appname to set bounds of window nam to newbds
I looked through both the Carbon and the Cocoa accessibility APIs ,but I found nothing pertaining to moving other app's windows.
Thanks!