All Projects → idleberg → sublime-applescript

idleberg / sublime-applescript

Licence: MIT license
AppleScript command completions, build system and useful snippets. Supports editing binary scripts

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to sublime-applescript

zephir-sublime
Sublime Text syntax highlighting for for Zephir
Stars: ✭ 41 (-18%)
Mutual labels:  sublime-text, sublime-text-package
node-jxa
Use your favorite node.js modules (and JS editor) for your Javascript OSX automation scripts
Stars: ✭ 52 (+4%)
Mutual labels:  jxa, osascript
FileHistory
Sublime Text plugin that keeps track of files which have been recently closed, as well as files that have been recently accessed.
Stars: ✭ 51 (+2%)
Mutual labels:  sublime-text, sublime-text-package
sublime-fish
A robust Sublime Text syntax package for fish
Stars: ✭ 32 (-36%)
Mutual labels:  sublime-text, sublime-text-package
dotfiles
Dotfiles. Mac and *nix. Handy scripts, configurations for bash, zsh, git, asdf, Sublime Text, Karabiner-Elements, BetterTouchTool and more.
Stars: ✭ 15 (-70%)
Mutual labels:  jxa, sublime-text
Jxa Cookbook
Cookbook for JavaScript for Automation in Mac OS X Yosemite
Stars: ✭ 2,603 (+5106%)
Mutual labels:  jxa
simple-ftp-deploy
This package for Sublime Text 3 give you possibility to auto upload file to FTP server when you save local file.
Stars: ✭ 16 (-68%)
Mutual labels:  sublime-text
prelude-jxa
Generic functions for macOS and iOS scripting in Javascript – function names as in Hoogle
Stars: ✭ 51 (+2%)
Mutual labels:  jxa
AppleScriptive
Functional AppleScripts operating out of Keyboard Maestro, Alfred and Automator to optimise productivity.
Stars: ✭ 44 (-12%)
Mutual labels:  jxa
ST-OpenUri
The ultimate Sublime Text plugin for opening URIs (URLs) in your file.
Stars: ✭ 25 (-50%)
Mutual labels:  sublime-text
MoveTab
Plugin for Sublime Text to move tabs around. Now maintained over at https://github.com/SublimeText/MoveTab
Stars: ✭ 19 (-62%)
Mutual labels:  sublime-text
TwoDark
Atom's OneDark inspired theme for Sublime Text
Stars: ✭ 19 (-62%)
Mutual labels:  sublime-text
sublime
Repository for the Tandem Sublime Plugin
Stars: ✭ 22 (-56%)
Mutual labels:  sublime-text
Ciapre.tmTheme
Ciapre - an easy-on-the-eyes Sublime Text/TextMate color scheme.
Stars: ✭ 63 (+26%)
Mutual labels:  sublime-text
alert
Cross-platform, isomorphic alert, for Node and browser (previously alert-node)
Stars: ✭ 27 (-46%)
Mutual labels:  osascript
automating-macOS-with-JXA-presentation
Slides & sample code from the "Automating macOS with Javascript for Automation" talk, given at the MelbJS meetup
Stars: ✭ 40 (-20%)
Mutual labels:  jxa
knowledge
Everything that you need. 💡 📚 🔭
Stars: ✭ 26 (-48%)
Mutual labels:  sublime-text
Sublime-Fanhuaji
繁化姬的 Sublime Text 插件
Stars: ✭ 48 (-4%)
Mutual labels:  sublime-text
sublime-import-helper
A Sublime Text Plugin that helps you to import your modules.
Stars: ✭ 69 (+38%)
Mutual labels:  sublime-text
LegacyColorSchemes
Color schemes that were part of Sublime Text 2 and older builds of Sublime Text 3
Stars: ✭ 48 (-4%)
Mutual labels:  sublime-text

AppleScript Extensions for Sublime Text

The MIT License Package Control GitHub CircleCI

This Sublime Text package adds completions, snippets and build tools for AppleScript (including binary files) and JavaScript for Automation (JXA).

Screenshot

Screenshot of AppleScript in Sublime Text with Hopscotch color scheme

Installation

Package Control

  1. Make sure you already have Package Control installed
  2. Choose “Install Package” from the Command Palette (Super+Shift+p)
  3. Select “AppleScript Extensions”” and press Enter

Using Git

  1. Change to your Sublime Text Packages directory
  2. Clone repository git clone https://github.com/idleberg/sublime-applescript.git 'AppleScript Extensions'

Manual installation

  1. Download the latest stable release
  2. Unzip the archive to your Sublime Text Packages directory

Usage

Completions

Many commands can simply be triggered by completing a standard AppleScript command. Commands such as try, if, repeat, or set will create a code block. Press Tab to jump between input-fields.

Snippets

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.

More examples:

  • Calendar:Add event
  • Finder:Open location
  • OS:Notification Message
  • Safari:Open location
  • Terminal:Run shell script

Build System

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.

License

This work is licensed under the The MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].