I've had one customer email me about a year ago saying that he did just that. If you know how to program in VBScript and your home automation software supports some sort of ActiveX control it is possible do this using the brain editor.
Robert Medeksza