I have such an AppleScript:
tell application "Firefox"
activate
set the bounds of th开发者_Go百科e first window to {0, 0, 6000, 6000}
end tell
But this code doesn't let me to re-size the height of the window higher than the screen bounds.
How can I make this happen?
p.s. The window width is set to 6000px successfully, but no luck with window height.
Thanks
As far as I know, the OS doesn't let you resize the height of ANY window higher than screen bounds, which is probably why you're hitting this limitation. Which means, there's no acceptable solution for your problem.
精彩评论