- AppleScript 截取当前窗口脚本
tell application "System Events"
key down command
keystroke "$"
key up command
keystroke space
keystroke (ASCII character 53)
end tell
- 最小化窗口(不兼容Chrome浏览器)
tell application "Safari" to set miniaturized of every window to true
- 点击最小化
tell application "System Events"
tell process "Google Chrome"
click button 1 of window 1
end tell
end tell
- 最下化
tell application "Google Chrome"
reopen -- unminimizes the first minimized window or makes a new default window
activate -- makes the app frontmost
end tell
- .
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。