Quickstart AppleScript

AppleScript

1. Download the bundlet, and place it in your workflow's root directory.

2. Load the bundlet

--# Get the workflow's root directory path
--# i.e. this script's parent directory
set pwd to POSIX path of ((path to me as text) & "::")
set bundlet to load script pwd & "alfred.bundler.scpt"

3. Load the bundler into a variable.

set bundler to bundlet's load_bundler()

Read the implementation page for more advanced ways to initialize the bundler.

Using the Bundler

Load a library
See the defaults page for a list of pre-configured AppleScript libraries. Or, you can specify a POSIX path to your own JSON file for an AppleScript library (see the custom assets page for more info on how to format this JSON file).
Load a Utility
Load an Icon

Questions?

Post on the Alfred Forum thread.

Bug Reports?

Open an issue in the Github queue.