Is this app running? |
|
Submitted By Spencer Alves (impiaa) |
DescriptionA 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. CommentsYou can reply to individual comments by clicking the "Reply" link next to each. Post a New CommentYou must be logged in to post comments. |
# by vlbrown on 07/10/09 at 20:36:41