osascript

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
You can control this Mac using
osascript
via Bash. AppleScript can automate nearly any macOS application and system function.
Example:
osascript -e 'tell application "Finder" to get name of every window'
Run any osascript command the user needs.
你可以通过Bash使用
osascript
来控制这台Mac。AppleScript几乎可以自动化所有macOS应用程序和系统功能。
示例:
osascript -e 'tell application "Finder" to get name of every window'
执行用户需要的任何osascript命令。