Adium
Dock Icons Emoticons Contact List Styles Message Styles Sound Sets AppleScripts Status Icons Service Icons Menu Bar Icons Plugins Miscellaneous All
Is this app running?

Is this app running?

Submitted By Spencer Alves (impiaa)

Description

A little script I made to help with my status message. All it does is check if an application is running, and if it is, return the given text. This is useful if you want an app specific token in your status message that will not work if the app is not running.
Usage:
%_running{app, text}
Here is the suggested usage, in this case, with iTunes.
%_running{iTunes, %_music}
Or with Safari:
%_running{Safari, %_safari}

Known issues
Right now, it checks to see if the given process is running. This can be a bad thing if you have, for instance, the iTunes widget open, but not iTunes. In this case, it will still give the text, even though iTunes is not running.

Comments

You can reply to individual comments by clicking the "Reply" link next to each.

# by vlbrown on 07/10/09 at 20:36:41

Stupid question: How do I make this work?

# by vlbrown on 07/10/09 at 21:01:49

I think I got it. I paste the %_running into the message portion of a Custom status message.

Post a New Comment

You must be logged in to post comments.

Install | Download
5.48kb (473 downloads)

12345
3.00 / 2 votes
Current Version: 1.0
Last Updated: 11/17/07