[macos]打开上一个 最小化窗口的script

https://stackoverflow.com/questions/7681418/un-minimizing-an-app-with-applescript

 

try
    tell app "System Events" to tell process "Dock"
        click (last UI element of list 1 where role description is "minimized window dock item")
    end tell
end try
posted @ 2022-11-06 00:33  hh9515  阅读(29)  评论(0)    收藏  举报