Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How can I check if Skype is running and there's an active call taking place?
I need this to shut down Skype before making automatic backup (otherwise files are locked on exFAT so I can't make backup) but only if I don't break an active call.

Platform is Windows Vista.

share|improve this question
add comment

1 Answer

You can communicate with Skype through their API. They have a variety of methods of doing this - including COM, Java, and Python - the "kick start guide" is a good place to start reading (and there's a link to the API tracer, where you can basically interactively work with Skype via text commands).

A very rough way to do it would be to do a "SEARCH CALLS", then run through each call and check what the current status is. I only looked at the API for a couple of minutes, so a more thorough look would probably get a more efficient method.

share|improve this answer
    
Thanks for the answer. I know Skype API tracer but I don't see a way how to get information out of it from command line. I don't want to engage in writing anything by myself just to get this simple thing working. They should really make Skype controllable from command line in the first place... –  Piotr Dobrogost May 26 '09 at 11:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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