Difference between revisions of "Desktop scripting/AppleScript"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
(Mac only) | (Mac only) | ||
==="AppleScript is a scripting language created by Apple. It allows users to directly control scriptable Macintosh applications, as well as parts of macOS itself. You can create scripts—sets of written instructions—to automate repetitive tasks, combine features from multiple scriptable applications, and create complex workflows."=== | ==="AppleScript is a scripting language created by Apple. It allows users to directly control scriptable Macintosh applications, as well as parts of macOS itself. You can create scripts—sets of written instructions—to automate repetitive tasks, combine features from multiple scriptable applications, and create complex workflows."=== | ||
− | |||
− | |||
This is the easiest or most accessible way for a user to script something in OSX. | This is the easiest or most accessible way for a user to script something in OSX. | ||
− | This is usually done in "Script Editor" or "Automator" | + | This is usually done in "Script Editor" or "[[Desktop scripting/Mac_automator|Automator]]" |
− | Personally, I've used AppleScript extensively to create "Docklets" | + | Personally, I've used AppleScript extensively to create "Docklets" to automate various tasks on OSX. Specifically, I toggle system settings, write files, and copy the active finder window's location to the clipboard. |
Latest revision as of 15:36, 25 March 2021
AppleScript
(Mac only)
"AppleScript is a scripting language created by Apple. It allows users to directly control scriptable Macintosh applications, as well as parts of macOS itself. You can create scripts—sets of written instructions—to automate repetitive tasks, combine features from multiple scriptable applications, and create complex workflows."
This is the easiest or most accessible way for a user to script something in OSX.
This is usually done in "Script Editor" or "Automator"
Personally, I've used AppleScript extensively to create "Docklets" to automate various tasks on OSX. Specifically, I toggle system settings, write files, and copy the active finder window's location to the clipboard.