AutoHotKey - 调整窗口大小
目前,我的客厅里有一台连接到等离子的 HTPC,但我遇到了一些图像残留问题。在长时间浏览网页等时,我会遇到这个问题。但是,使用 AutoHotKey 设置脚本以在计时器上自动调整窗口大小似乎应该相对容易。谁能帮助我开始编写脚本来完成这项任务? (也欢迎任何其他想法)
谢谢!
I currently have a HTPC connected to a plasma in my living room, and I've had a few issues with image retention. While browsing the web, etc. for an extended period of time I'll run into the issue. However, it looks like it should be relatively easy to set up a script with AutoHotKey to resize the window automatically on a timer. Could anyone help me get started on a script to accomplish this task? (Also open to any other ideas)
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不久前创建了一个脚本来“规范化”窗口,即调整大小、移动并执行其他操作以使窗口符合我的个人喜好。
每当窗口第一次显示时,它就会被标准化。如果关闭并重新打开,则再次正常化。
以下是脚本的功能版本,应满足原始问题的要求。
我使用的版本要复杂得多,因为它具有更多功能,例如,它支持多个显示器并调整窗口大小,同时考虑Windows任务栏的高度。我使用脚本使打开/保存对话框变大(默认情况下它们太小)。我还用它来自动登录一些网站和应用程序。
I created a script quite a while ago that "normalizes" windows, i.e. resizes, moves, and performs other actions to make a window confirm to my personal preference.
Whenever a window displays for the first time, it is normalized. If it is closed and re-opened, it is normalized again.
Below is a functioning version of the script and should satisfy the requirements from the original question.
The version I use is much more complicated because it has many more features, e.g. it supports multiple monitors and resizes windows while taking into account the height of the Windows task bar. I use the script to make open/save dialogs bigger (they are too small by default). I also use it to auto-login to some websites and applications.
我正在研究同样的问题。以下脚本可根据您当前的屏幕尺寸打开并居中 Windows 计算器。我仍在弄清楚一切,但这也许会让你开始。
I am working on the same problem. Here is a script that opens and centers the Windows calculator based of your current screen size. I am still figuring everything out, but maybe this will get you started.