Seven years have passed since the publication of the first “AppleScript Latest Reference for macOS 10.11”. We have published a completely updated updated version. The PDF is 974 pages.
Updated to match the latest OS environment
Updated for macOS 12/13/14 to match the current AppleScript v2.8 environment. As much as possible, we track changes in terminology dictionaries for each application since macOS 10.13 and evaluate the security constraints of each AppleScript execution program using benchmark scripts.
Wider, easier to understand, more detailed
The number of pages has been significantly increased from the original “AppleScript Latest Reference” (483 pages) to 974 pages. As a result, we have expanded the scope of explanation.
In addition, we have adopted a chapter structure divided by the difficulty of the explanation content and the level of the intended user.
Useful information for beginners to Script (Introduction), Useful information for Script users (Usage), Useful information for users who actually write scripts (Practical), Useful information to look up when you have a problem. Information (materials), etc.
The appendix of this book includes the latest version of Snipet Script’s “Piyomaru Context Menu Assistant” which can be called from the script editor’s context menu, “Piyomaru Script Templates” which can be called as a script editor template, and “Dynamic Menu Clicker” which is a powerful helper for GUI Scripting. It will be configured (I will attach it all together from now on, as it requires some modification).
This book is an easy-to-understand summary of information that will be useful for both those who are planning to dabble in Script and those who are already using it.
Table Of Contents:
■Special feature
All about AppleScript v2.8
Shortcuts Events
AppleScript extension in the era without OSAX
Unlock various security restrictions
Current status of various support programs
Explanation of AppleScript compatibility of macOS standard equipment & Apple genuine apps
Finder/Automator/Calendar/Contacts/Mail/Maps/Messages/Music/Memos/Photos/System Settings/Preview/QuickTime Player/Reminder/Safari/Script Editor/Shortcuts/Terminal/TextEdit/tv/VoiceOver/Screen Sharing/ Console/System Information/Keynote/Pages/Numbers/Claris FileMaker Pro/Xcode/Apple Configurator/Garageband/iMovie/Instruments
■Introduction
Who makes the AppleScript world?
Standard macOS applications that support AppleScript
Various macOS standard tools that can execute AppleScript
Third-party hardware and software that can run AppleScript
What is AppleScript?
How to use the script editor
What happens during “Syntax check”
Things to prepare before writing a script
AppleScript Fastest Master
Grammar guide
List of AppleScript reserved words
AppleScript Latest Reference
tell blocks/actions/dialog display/commands/other language calls/ordinals/control syntax/string operations/system date/data types/constants/variable/property declarations/functions/operators/path related/file input/output/localization Related/Text summarization/Web service calls/Filter references/Subroutine declarations/Meaningless words/Clipboard control/Volume control/Script objects/Others
Instruction pattern for application
What is Script Debugger?
Finder terminology dictionary strategy guide
Standard processing using Finder
Column: Finder setting items that affect GUI app operations
■For Script Users
How to use the Script Menu
FastScripts 3
Script Menu for each application
Folder action explanation
AppleScript used from Terminal
Various plug-insAppleScript
PDF Workflow Script Explanation
Mail Plugin Script Explanation
Call from context menu
Obsolete plugin AppleScript
Other AppleScript Launchers ~ Switch Control/Automator/Shortcuts/Voice Control/Adobe Illustrator 2023/Adobe InDesign 2023/Keyboard Maestro/Hammerspoon/Service Station/Dropzone 4/Visual Studio Code/CotEditor+PowerPack/Xojo 2023/Live Code/Elgato Stream Deck
AppleScript under restricted user account & restricted machine environment
Parental Controls and AppleScript
AppleScript under MDM restrictions
■For Script Writers
Check OS version number
Know your runtime environment
Hardware information
GUI Scripting Overview
Easily utilize online functions from AppleScript
REST API call
JavaScript library calls on CDN
Script operation techniques that do not require creating droplets
Introduction to Cocoa Scripting
List of supported frameworks (macOS 13/14)
Sell apps created with AppleScript on the Mac App Store
Piyomaru Context Menu Assistant
Piyomaru Script Templates
■Data
Technologies that are not compatible with AppleScript
Different coordinate systems for each application
AppleScript written in a proprietary macro language ~ Microsoft Office VBA/Claris FileMaker Pro Script Step
Cooperation with iOS devices
Preparation
Run AppleScript from iOS device
Update information on your iOS device
Make a phone call with AppleScript
Send SMS with AppleScript
Make a FaceTime call with your iPhone/iPad
Resource reference ~ Predicate statement/UTI/icon/disk image
History of AppleScript
Element technology history of macOS and AppleScript
History of AppleScript macOS edition
History of AppleScript Classic MacOS edition
AppleScript FAQs
Error number and error message
AppleScript error code table
key code table
Key code for key input simulation
Afterword