{"id":27721310,"url":"https://github.com/idleberg/sublime-applescript","last_synced_at":"2025-07-27T15:12:36.003Z","repository":{"id":12977974,"uuid":"15656646","full_name":"idleberg/sublime-applescript","owner":"idleberg","description":"AppleScript command completions, build system and useful snippets. Supports editing binary scripts","archived":false,"fork":false,"pushed_at":"2024-07-07T20:49:13.000Z","size":1656,"stargazers_count":60,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-10T20:35:27.363Z","etag":null,"topics":["applescript","jxa","open-scripting-architecture","osacompile","osascript","sublime-text","sublime-text-package"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idleberg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-01-05T18:48:57.000Z","updated_at":"2025-04-29T04:24:06.000Z","dependencies_parsed_at":"2025-04-27T10:15:12.459Z","dependency_job_id":null,"html_url":"https://github.com/idleberg/sublime-applescript","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/idleberg/sublime-applescript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idleberg%2Fsublime-applescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idleberg%2Fsublime-applescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idleberg%2Fsublime-applescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idleberg%2Fsublime-applescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idleberg","download_url":"https://codeload.github.com/idleberg/sublime-applescript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idleberg%2Fsublime-applescript/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267376369,"owners_count":24077300,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["applescript","jxa","open-scripting-architecture","osacompile","osascript","sublime-text","sublime-text-package"],"created_at":"2025-04-27T10:04:40.743Z","updated_at":"2025-07-27T15:12:35.975Z","avatar_url":"https://github.com/idleberg.png","language":"Python","readme":"# AppleScript Extensions for Sublime Text\n\n[![License](https://img.shields.io/github/license/idleberg/sublime-applescript?style=for-the-badge)](LICENSE)\n[![Version](https://img.shields.io/github/v/release/idleberg/sublime-applescript?style=for-the-badge)](https://github.com/idleberg/sublime-applescript/releases)\n[![Package Control](https://img.shields.io/packagecontrol/dt/AppleScript%2520Extensions?style=for-the-badge)](https://packagecontrol.io/packages/AppleScript%20Extensions)\n\nThis [Sublime Text](http://www.sublimetext.com/) package adds completions, snippets and build tools for [AppleScript](https://developer.apple.com/library/mac/documentation/applescript/conceptual/applescriptlangguide/introduction/ASLR_intro.html) (including binary files) and JavaScript for Automation (JXA).\n\n![Screenshot](https://raw.github.com/idleberg/sublime-applescript/master/screenshot.gif)\n\n*Screenshot of AppleScript in Sublime Text with [Hopscotch](https://github.com/idleberg/Hopscotch) color scheme*\n\n## Installation\n\n### Package Control\n\n1. Make sure you already have [Package Control](https://packagecontrol.io/) installed\n2. Choose “*Install Package*” from the Command Palette (\u003ckbd\u003eSuper\u003c/kbd\u003e+\u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003ep\u003c/kbd\u003e)\n3. Select “*AppleScript Extensions*”” and press \u003ckbd\u003eEnter\u003c/kbd\u003e\n\n### Using Git\n\n1. Change to your Sublime Text `Packages` directory\n2. Clone repository `git clone https://github.com/idleberg/sublime-applescript.git 'AppleScript Extensions'`\n\n### Manual installation\n\n1. Download the latest [stable release](https://github.com/idleberg/sublime-applescript/releases)\n2. Unzip the archive to your Sublime Text `Packages` directory\n\n## Usage\n\n### Completions\n\nMany 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 \u003ckbd\u003eTab\u003c/kbd\u003e to jump between input-fields.\n\n### Snippets\n\nThere 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 \u003ckbd\u003eTab\u003c/kbd\u003e to jump between input-fields.\n\nYou 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 \u003ckbd\u003eTab\u003c/kbd\u003e 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.\n\nMore examples:\n\n* `Calendar:Add event`\n* `Finder:Open location`\n* `OS:Notification Message`\n* `Safari:Open location`\n* `Terminal:Run shell script`\n\n### Build System\n\nBuild systems are available on macOS to compile or run scripts. Use the default shortcut \u003ckbd\u003e⌘\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e to build or \u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003e⌘\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e to select a build system variant.\n\n**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.\n\n## License\n\nThis work is licensed under the [The MIT License](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidleberg%2Fsublime-applescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidleberg%2Fsublime-applescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidleberg%2Fsublime-applescript/lists"}