Working with AppleScript

CotEditor supports AppleScript and JXA (JavaScript for Automation). It has own AppleScript dictionary so that you can look up the classes or commands available with CotEditor. To open the dictionary:

  1. Choose Help > CotEditor Scripting Manual > AppleScript Dictionary.

See also