Skip to content

josebama/slack_applescript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Slack Applescript Automations

This bundle allows you to automate actions in Slack

Please consider buying me a coffee if this has made your work easier

ko-fi

Important note

Please use v1.0.1 and above for Slack ~4.3.3 and above

To install


Clone this repository into ~/Library/Script Libraries (If this doesn't work try putting it in ~/Library/Scripting Libraries)

Change the folder name to Slack.scptd

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

Applescript tutorial


If you need a beginners guide to applescript please look at my blog post

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

About

AppleScript bundle for Slack methods

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rich Text Format 100.0%