Applescript get list of running apps?

前端 未结 8 1179
梦谈多话
梦谈多话 2020-12-30 05:47

Applescript newbie question again :) I am trying to create a small applescript that will allow me to select multiple items from a list of currently running applications and

8条回答
  •  [愿得一人]
    2020-12-30 06:20

    You can try this

    tell application "System Events"
            set AppName to name of every process whose background only is false
            choose from list AppName OK button name "Ok" cancel button name "Cancel"
        end
    

提交回复
热议问题