【发布时间】:2012-10-21 19:55:29
【问题描述】:
我有一个同时打开多个窗口的应用程序。 我想把一个特定的窗口带到前台(我知道它的标题)。
目前我正在使用组合键来完成此任务,但我想尝试一些不同的方法,因为我在使用这种方法时遇到了一些问题。
tell application "System Events"
set frontmost of process "appIT" to true
keystroke "1" using command down
delay 0.2
end tell
【问题讨论】:
标签: macos window applescript foreground