Is it possible to trigger an Automator workflow/application when a specific action occurs in another application? I want to trigger the Automator script to play a particular track in iTunes when my Pomodoro work timer finishes.

If not possible can anyone recommend any other solutions? (please treat with kid gloves as am not a developer)


  • What have you tried so far to accomplish your goal? We're here to help you solve problems, but we need to know what you've tried to do, but failed. You might want to take a look at IFTTT as a starting point. – IconDaemon Jan 29 '17 at 1:22
  • Not sure what you mean? I've tried using Automator. Searching for an answer on how to get Automator to do what I require. Searching for alternative apps. IFTTT doesn't have a BeFocused integration available as far as i can see – user5204546 Jan 29 '17 at 12:52

You would probably need an API for the pomodoro app that you're using. The only other way this could be created is by looking for any change instantiated on your native os when the timer is done. Then create an apple script which watches for the identified trigger and plays the sound bite you want when this trigger to call on the custom apple script.

| improve this answer | |
  • Thanks a lot. How would I look for a change instantiated in OSX when the timer has ended. Do I need to look in a log somewhere for this? – user5204546 Jan 29 '17 at 12:37
  • I would look into using the Activity Monitor program on your mac. Again my method only works if you know how to create your own Apple Script to link your Automator function to the BeFocused action. Also I just checked out the site for BeFocused and it seems like if you upgrade to the Pro version of the app setting your own song is just a simple setting. – AlyssaFox Jan 29 '17 at 16:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .