My app changes statuses in iChat according to the user's hot keys, using AppleScript. Everything goes okay, but in the case when iChat isn't running, I have a "iChatAgent" running, with its icon in the status bar; there's no icon of iChat in my Dock.
So in this case if my app sends an AppleScript command to change an iChat status (tell application "iChat" set status blah-blah...
), it automatically activates iChat and an icon of iChat appears in Dock. I do not want to activate iChat. I do not need any changes in my Dock. But I need to change status of iChat when it isn't running.
How can I do this by my application to iChatAgent to change the status? is it possible at all?