AppleScript command completions, build system and useful snippets. Supports editing binary scripts
- Total 4K
- Win 831
- OS X 3K
- Linux 176
|May 20||May 19||May 18||May 17||May 16||May 15||May 14||May 13||May 12||May 11||May 10||May 9||May 8||May 7||May 6||May 5||May 4||May 3||May 2||May 1||Apr 30||Apr 29||Apr 28||Apr 27||Apr 26||Apr 25||Apr 24||Apr 23||Apr 22||Apr 21||Apr 20||Apr 19||Apr 18||Apr 17||Apr 16||Apr 15||Apr 14||Apr 13||Apr 12||Apr 11||Apr 10||Apr 9||Apr 8||Apr 7||Apr 6||Apr 5|
AppleScript Extensions for Sublime Text
Screenshot of AppleScript in Sublime Text with Hopscotch color scheme
- Make sure you already have Package Control installed
- Choose “*Install Package*” from the Command Palette (Super+Shift+p)
- Select “*AppleScript Extensions*”” and press Enter
- Change to your Sublime Text
- Clone repository
git clone https://github.com/idleberg/sublime-applescript.git 'AppleScript Extensions'
- Download the latest stable release
- Unzip the archive to your Sublime Text
Many commands can simply be triggered by completing a standard AppleScript command. Commands such as
set will create a code block. Press Tab to jump between input-fields.
There are several snippets included to generate license-texts enclosed in a comment. To trigger these, try the
license command with license names as parameter. You could, for example, use
license:mit to add an MIT License text, or
license:gpl2 for the GNU General Public License in version 2.0. Press Tab to jump between input-fields.
You can directly address several macOS applications to have them perform some action. For instance you can scaffold a script using
Mail:Send message, telling Mail to send a message. You can use Tab to jump between recipient, subject and message fields. Other examples would be
System Preferences:Security to open the according panel in System Preferences, or
iTunes:Open file to play a piece of music in iTunes.
Terminal:Run shell script
Build systems are available on macOS to compile or run scripts. Use the default shortcut ⌘+B to build or Shift+⌘+B to select a build system variant.
Note: When editing binary AppleScripts decompiled by this package, you can simply save the file for it to be re-compiled. Building it will lead to undesired results.
This work is licensed under the The MIT License.
You are welcome support this project using Flattr or Bitcoin