Skip to content
AppleScript bundle for Slack methods
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Contents Initial Commit Dec 4, 2018
README.md FIX: Updated README to use double quotes for AppleScript Dec 7, 2018

README.md

Slack Applescript Automations

This bundle allows you to automate actions in Slack

To install


Clone this repository into ~/Library/Script Libraries

Change the folder name to Slack.scptd

The scripts are now accessible globally. Documentation can be found in the script Library.

To use


all of the commands below can be accessed by nesting them under the script call

 tell script "Slack"
   ...
 end tell

The library can manage several tasks in v1.0

  • Switch workspaces
  focus workspace "My Company"
  • Switch channels
  focus channel "general"
  • Send a message
  send message "@here this is an automated message"
  send message "@here this is an automated message" in channel "general"
  send message "@here this is an automated message" in channel "general" in workspace "My Company"
  • Start a call, with optional name
  start call
  start call "Company update"
  start call "Company update" in channel "general"
  start call "Company update" in channel "general" in workspace "My Company"
  • Set a status
set status "on lunch"
set status "on lunch" with icon ":knife_fork_plate:"
clear status # clears status 
  • Set a topic
  set topic "New automated topic"
  set topic "New automated topic" in channel "general"
  set topic "New automated topic" in channel "general" in workspace "My Company"
  • Window management
  focus main window
  focus call window
You can’t perform that action at this time.