Interacting with KiCad


I have now been using KiCad for a while and created some supporting programs using VBnet which suit my particular needs.
Now, I wonder if there is a way to interact with KiCad by software eg. setting certain print options, getting information about selected components etc.

Any hints out there?

Thanks for your response.
I also have worked with the files. Is there any doc about using the shell with python?