I love the feature to warp to safety on a hostile in local chat. I am sure today alone it has saved me some ships. Oh life in low sec is hard. Now, I would like the ability to write a warning into corp or fleet chat when these hostiles show up in system. Is there a way to do that?
It is not yet as simple as it should be. The main problem is setting the input focus to the input box in the chat window as it is not yet present in the interface. I will add it to the Interface in the next release.
In the current version I set the input focus by clicking 10px above the bottom of the chat window. The follwing code does this and also contains the complete method to send a string to the corp chat: