contact us

Use the form on the right to contact us.

You can edit the text in this area, and change where the contact form on the right submits to, by entering edit mode using the modes on the bottom right.


Sydney
Australia

Home

Fixing OSX messages when it won't automagically reconnect after wake

Tony Green

Ever been just a little frustrated when OSX messages refuses to automatically go back online after you wake your Mac from sleep (or change networks etc).

Simple fix, just get yourself a terminal window, and edit your crontab to add this. Alternatively, you could use a tool like cronnix, if you're not comfortable hacking around in the terminal

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

This will cause applescript to try to reconnect to the Messages server(s) every 10 mins, if Messages is running.

You can do the same sort of thing with iChat, just change the Messages entries in the cronjob to iChat.