Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

gianthobbit

macrumors 6502
Original poster
Apr 20, 2010
332
0
I got this great plugin called Scenario that runs scripts on different events. One of those events is if I go idle to quit a program (Adium). Then when idle ends to start Adium.

Problem sometimes, for whatever reasons I get two instances of Adium running. Not sure how this is happening but is there a way to change the script to only run Adium if its not currently running? No apple script experience at all here so appreciate the help, here is what I have now:

tell application "Adium"
run
end tell
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.