【发布时间】:2013-08-24 16:54:41
【问题描述】:
Applescript 新手问题再次 :) 我正在尝试创建一个小 AppleScript,它允许我从当前正在运行的应用程序列表中选择多个项目,然后退出这些选定的应用程序。像这样的东西可以工作,但不必单击每个对话框,从列表中选择会更容易。
tell application "System Events"
repeat with p in every process
if background only of p is false then
display dialog "Would you like to quit " & name of p & "?" as string
end if
end repeat
end tell
我们将不胜感激任何和所有的帮助!
谢谢!
【问题讨论】:
标签: macos applescript osx-mountain-lion