Categories
AppleScript CurrentKey Stats

Power-user tutorial: Set up banner notifications that will tell you the name of the Space you just moved into!

Since CurrentKey Stats' launch, users have often asked for a way to see their Spaces'(Rooms') names without clicking the menubar icon. The most recent request was just yesterday. The commenter said: "Hi just tried ur app. Its a nice start but if you dont show the name somewhere i won't be bothered to click on the icon to see in which room i am".

Fortunately, there's an easy way to accomplish this! We will use CurrentKey's Room Change Alerts to issue push notifications! Here's what it will look like:

How to set it up:

  1. Open CurrentKey and give each Space a name.
  2. Enable AppleScript support in CurrentKey. (see below screenshot)
  3. Move this script to CurrentKey’s Scripts folder (There's a button to open this folder in the Background Services window). (See screenshot of file)
  4. Clicking OK on the Mac’s permissions dialog if prompted

Here is what the script looks like:

It's just that easy! You can do so many things with this powerful functionality, even give each of your Spaces a custom sound. More brainstorming fuel is available here.