开发者

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

开发者 https://www.devze.com 2022-12-21 04:29 出处:网络
I have such an AppleScript: tell application \"Firefox\" activate set the bounds of th开发者_Go百科e first window to {0, 0, 6000, 6000}

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

精彩评论

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

关注公众号