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
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