开发者

How to increase window height longer than the screen height in applescript?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜