What commands can be used with the osascript -e
argument?
I know of the command osascript -e "set Volume x"
where x is 0-7. Is there anything else I can use instead of set
or Volume
? Or some documentation you could link me to?
macbook promacosterminal
What commands can be used with the osascript -e
argument?
I know of the command osascript -e "set Volume x"
where x is 0-7. Is there anything else I can use instead of set
or Volume
? Or some documentation you could link me to?
Best Answer
osascript is a tool to execute AppleScript within a shell/script.
Here is Apple's introductory guide: https://developer.apple.com/library/mac/documentation/AppleScript/Conceptual/AppleScriptLangGuide/introduction/ASLR_intro.html
Additionally, you can open Script Editor.app (in /Applications/Utilities if your on OS X 10.11). From the menu bar select Window > Library to browse library documentation.