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

你离开我真会死。 提交于 2020-01-15 10:11:39

问题


I have such an AppleScript:

tell application "Firefox"
    activate
    set the bounds of the 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


回答1:


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.



来源:https://stackoverflow.com/questions/2344615/how-to-increase-window-height-longer-than-the-screen-height-in-applescript

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!