如何使用 RAutomation 将“ALT”+“s”键发送到窗口?谷歌里根本没有信息。
2 回答
1
未经测试,但您应该可以使用send_keys
. 确切的语法取决于所选的适配器类型。这些是Win32
适配器的示例:
RAutomation::Window.new(:title => //).send_keys "hello!"
RAutomation::Window.new(:title => //).send_keys [:control, "a"], "world!"
于 2016-08-19T19:17:15.750 回答
0
于 2016-08-22T18:52:43.730 回答