windows - 使用 Ruby 调整窗口大小?

标签 windows ruby

我正在尝试通过 ruby​​ 调整另一个打开的应用程序的窗口大小,但我不确定该怎么做。

我猜这可能是使用 Ruby Win32API 实现的,但老实说我真的不知道从哪里开始寻找。

如果你们中的任何一个能指出我正确的方向,我们将不胜感激。

最佳答案

您可能需要 APIs for locating/identifying your target window 的某种组合和 getting the resize message to them .

关于windows - 使用 Ruby 调整窗口大小?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3252233/

相关文章:

ruby - 如何使用 ActiveRecord 列出所有数据库

eclipse - git gc/git gui : Unlink of file <internal pack file name> failed

c# - 如何在 Windows 10 通用应用程序上使用 C# 获取本地主机名

ruby - Sinatra 和 bundler

ruby-on-rails - 根据父模型验证模型

ruby-on-rails - rails : Custom text for rails form_for label

c++ - 通过 Visual C++ (API) 访问 Powershell

windows - 在 WinXP 中查找哪个驱动器对应哪个 USB 大容量存储设备

windows - 适用于 Windows 的 Sublime Text 3 中的路径在哪里?

ruby - 分配给数组并替换出现的 nil 值