Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
AppleScript based application bundle for launching scripts via a url protocol. Target scripts can be written in rb-appscript or (in theory) any other application that can be launched from the command line.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
AppscriptLauncher.app/Contents
README
README.textile

README.textile

Appscript Launcher

This application bundle provides an application that allows the launching, via URL protocol, of arbitrary scripts within the ~/Library/Application\ Support/Appscripts/ directory. It is intended for those using rb-appscript tool, but it will launch any ruby script.

Installation

  1. Download and install wherever appropriate. I’d reccommend putting it somewhere like ~/Applications/.
  2. Create an “Appscript” directory in ~/Library/Application\ Support/

… or modify the application’s AppleScript Source in Contents/Resources/Scripts to launch whatever you want. Protocol can be changed in Contents/Info.plist.

Usage

Place the script you want to use in ~/Library/Application\ Support/Appscript/, as such:

~/Library/Application\ Support/Appscripts/make_coffee.rb

Build a URL to launch the script, passing whatever arguments into the URL as you need:

appscript://com.greengaloshes.AppleScript.AppscriptLauncher?run=make_coffee.rb&kind=sumatran&roast=dark

Further reading

Something went wrong with that request. Please try again.