Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My Internet connection breaks quite frequently. And each time iChat shows me "connection is lost" error message. I have to click "OK" and switch my status from Offline to Available. How can I make it do that automatically?

share|improve this question

2 Answers 2

up vote 5 down vote accepted

I just googled this answer:

http://blogs.oracle.com/safron/entry/make_ichat_reconnect_automatically

Basically, it says to set a cron tab to tell iChat to reconnect every 5 minutes. I have set it to repeat every minute:

$ crontab -e
* * * * *       osascript -e 'tell application "iChat" to log in'
share|improve this answer

This version checks that the app is running, so if you close it the script wont reopen it:

*/5 * * * * osascript -e 'tell application "System Events" to if (processes whose name is "iChat") exists then tell application "iChat" to log in'

Found here, by the way: http://www.mikeperham.com/2011/12/30/getting-ichat-to-automatically-reconnect/

share|improve this answer

Your Answer

 
discard

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.