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?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.
Sign up to join this communityosascript 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.
osascript
commands, I will have to manually make them and save them, then run it with the command?