Skip to content

Instantly share code, notes, and snippets.

@zachwaugh
Last active December 12, 2015 03:09
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zachwaugh/5169b3858a51650c7dbc to your computer and use it in GitHub Desktop.
Save zachwaugh/5169b3858a51650c7dbc to your computer and use it in GitHub Desktop.

Flint AppleScript support

Flint currently supports posting messages via AppleScript, which you can do like this:

Post a message to a room

tell application "Flint"
  post "<message>" to room "<room name>"
end tell

This command can also be run from the command-line like this:

osascript -e 'tell app "Flint" to post "message" to room "room"'

If you want more commands supported through AppleScript, let me know - http://giantcomet.com/support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment