如何在applescript中增加比屏幕高度更长的窗口高度? [英] How to increase window height longer than the screen height in applescript?

查看:26
本文介绍了如何在applescript中增加比屏幕高度更长的窗口高度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这样一个 AppleScript:

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?

附言窗口宽度成功设置为 6000px,但窗口高度没有运气.

p.s. The window width is set to 6000px successfully, but no luck with window height.

谢谢

推荐答案

据我所知,操作系统不允许您调整任何高于屏幕边界的窗口的高度,这可能就是您遇到此问题的原因局限性.这意味着,您的问题没有可接受的解决方案.

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.

这篇关于如何在applescript中增加比屏幕高度更长的窗口高度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆