utaction meet gaim-remote
By user12625760 on Aug 23, 2006
Now that gaim-remote is in build 46 I can shamelessly steal an idea that Darren mentioned to me one lunch time.
Using this short script:
#!/bin/ksh -p utaction -d "gaim-remote 'setstatus?status=away&message=Away from Sun Ray'" > /dev/null 2>&1 & utaction -c "gaim-remote 'setstatus?status=available'" > /dev/null 2>&1 & wait
I have my status in all the IM sessions that I have automatically set when I remove my card from my Sun Ray and reset when I return.
This assumes you have /opt/SUNWut/bin in your path.
Short and sweet.