Write a plugin to do it, or suggest what such a plugin would have to be able to do, and perhaps some enterprising scripter will code up something suitable.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.