I would like to send a message to group chat from the Windows command line. I know the chat name from skype, lets say it is 'TestChat'.

What is the easiest way to do that?

  • The closest thing I could find is a python API Skype4Py, but that would require you to install python and write the script yourself. – John Aug 25 '11 at 11:08
  • This is an awesome question. I would definitely like to know how to do this from a *NIX terminal too! – kalaracey Aug 25 '11 at 14:59

Similar to the Skype4Py comment, I would recommend Skype4COM. You'd still need to write the script yourself but there are some examples out there already that show similar things. It's also officially supported by Skype.

| improve this answer | |

MsgToSkype.exe is a command-line program (22k) that can send messages to another Skype clients using the locally installed & configured Skype client. It uses the Skype4Com API mentioned by Matthew Steeples, but relieves you from dealing with COM.

It cannot send message to a group chat (as described at the above-mentioned page) "due to limitation of the Skype4Com component. To achieve the same goal it is possible to use the Category concept of the Skype interface. A Category allows to define a set of users and MsgToSkype can use this Category and browse it to send Instant Message sequentially to all users located in this one."

However, currently I suspect that this Skype4Com API is obsolete and will cease to work in the near future. But I cannot tell it for sure because it's unclear (for me) how Skype4Com is related to the Skype Desktop API, from which message sending capability is going to be removed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.