Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For example, I have a service that I want it to be started automatically when I open Firefox.

I know how to write scripts as services in automator, but I don't know how to make a hook that when Firefox is openned, it started the service.

Does anyone have ideas about this? Thanks!

share|improve this question
up vote 0 down vote accepted

Besides starting both programs via a script as you told I can only think of Keyboard Maestro which is a powerful macro program for Mac OS X Mountain Lion, Lion and Snow Leopard.

You can do a lot of crazy stuff with it. And you can trigger macros when programs are running or not running which is what you want.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.