How to change ichat status

General discussions about LaunchBar
Post Reply
SpiralOcean
Posts: 19
Joined: Mon Nov 13, 2006 1:13 am

How to change ichat status

Post by SpiralOcean » Sun Dec 09, 2007 6:29 pm

Anyone know how to change the ichat status with launchbar?

ludwigschubert
Rank 4
Rank 4
Posts: 285
Joined: Fri Jun 29, 2007 5:54 pm
Location: Germany, Bavaria

Applescript

Post by ludwigschubert » Sun Dec 09, 2007 7:24 pm

Hi SpiralOcean,
Applescript comes to your rescue.

This small script is for you:


Code: Select all

set userInput to display dialog "What Status?" default answer "" with icon note
set msg to text returned of userInput
tell application "iChat"
   set status message to msg
end tell

on handle_string(input)
   
   tell application "iChat"
      set status message to input
   end tell
   
end handle_string

-idea from StudioLog

Index it in LaunchBar and you're done ;-)

If you launch it with enter it will prompt you to enter your status. Alternatively you can enter your status message via spacebar directly in LaunchBar and then press enter.

I hope that helped you and I didn't get anything wrong :-)

greetings,
Ludwig

Post Reply