Documentation
Scriptable lets you automate iOS using JavaScript. Start with your first widget or explore the API reference.
JavaScript environment
Section titled “JavaScript environment”Scriptable uses Apple’s JavaScriptCore. It runs JavaScript outside a browser, so browser-specific objects such as document and window are not available.
Use Scriptable’s native APIs to work with files, calendars, widgets, notifications, and more. The API reference on this site comes from the same documentation data used inside the app.
Learning JavaScript
Section titled “Learning JavaScript”If you’re new to JavaScript, try Codecademy’s JavaScript introduction or the MDN JavaScript guide. Browser-focused examples may need adapting to Scriptable’s environment.
Community
Section titled “Community”Get help and share your scripts in the Scriptable forum, hosted by Automators.