osascript, xattr, pmset, say, screencapture: add link (#7368)

feature/windows-fix-syntax-2
meowmeowcat 2021-11-02 21:02:04 +08:00 committed by GitHub
parent 048bcdd38a
commit b85bc433fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 0 deletions

View File

@ -1,6 +1,7 @@
# osascript
> 在命令行中运行指定的 AppleScript 或 JavaScript 脚本程序。
> 更多信息:<https://ss64.com/osx/osascript.html>.
- 运行一个 AppleScript 命令:

View File

@ -2,6 +2,7 @@
> 配置 macOS 电源管理设置,就像在系统首选项 > 节能程序中一样。
> 修改设置的命令必须以 `sudo` 开头。
> 更多信息:<https://ss64.com/osx/pmset.html>.
- 显示当前电源管理设置:

View File

@ -1,6 +1,7 @@
# say
> 将文本转换为语音。
> 更多信息:<https://ss64.com/osx/say.html>.
- 大声说出一个句子:

View File

@ -1,6 +1,7 @@
# xattr
> 用于扩展文件系统属性的实用程序。
> 更多信息:<https://ss64.com/osx/xattr.html>.
- 列出 键:值 列表,显示指定文件的值扩展属性:

View File

@ -1,6 +1,7 @@
# osascript
> Run AppleScript or JavaScript for Automation (JXA) from the command-line.
> More information: <https://ss64.com/osx/osascript.html>.
- Run an AppleScript command:

View File

@ -2,6 +2,7 @@
> Configure macOS power management settings, as one might do in System Preferences > Energy Saver.
> Commands that modify settings must begin with `sudo`.
> More information: <https://ss64.com/osx/pmset.html>.
- Display the current power management settings:

View File

@ -1,6 +1,7 @@
# say
> Converts text to speech.
> More information: <https://ss64.com/osx/say.html>.
- Say a phrase aloud:

View File

@ -1,6 +1,7 @@
# screencapture
> Utility to take screenshots and screen recordings.
> More information: <https://ss64.com/osx/screencapture.html>.
- Take a screenshot and save it to a file:

View File

@ -1,6 +1,7 @@
# xattr
> Utility to work with extended filesystem attributes.
> More information: <https://ss64.com/osx/xattr.html>.
- List key:value extended attributes for a given file: