Programmatically change height of the window more than the height of the screen in Mac OS X

Posted by nezlooy on Super User See other posts from Super User or by nezlooy
Published on 2012-11-16T21:54:08Z Indexed on 2012/11/16 23:03 UTC
Read the original article Hit count: 200

Filed under:
|
|
|
|

Respected low-level users of Mac OS, please, help.

I'm trying programmatically to change height of window of safari (or other window). I'm was trying used AppleScript and AXUIElementSetAttributeValue of Carbon, but none of these methods can't increase the window bigger than the height of the screen. But, the width changes without any problems.

I guess I'd be starting with something like SetWindowPos with SWP_NOSENDCHANGING flag under Win32.

Maybe, you can disable this functionality, which monitors the size of the window or completely shutdown the one who is responsible for it?

Note that I want to do this programmatically from an external process - I'm not asking how to control just my own app's window size and position.

Thanks.

© Super User or respective owner

Related posts about Windows

Related posts about osx