call a macro from an external soft
Posted: Sat Aug 15, 2009 12:18 pm
Hi, I'm a newbie in EG. It's a fantastic automation software for me. I made a xml file with macros for all my HC elements (TVonoff, 1 channel, MuteVolume, AmpOnOff...) and X10 lights. It work perfectly. But I try now to make a software with a great graphic interface wich launch EG macros.
I made one but it's very long : my graphic soft launch an empty .exe applicaion, named "TVOnOFF.exe" wich open an empty window.
The macro have an event : "Task.Activated.TVOnOFF", a close instruction, and the IR action.
It's very long before the launch of the macro.
I tried to launch a .bat with "C:\Program Files\EventGhost\EventGhost.exe" -e TVOnOFF
exit
but it don't work.
I don't know the c++ and python languages but I tried to lern them.
Could you give me the entire code to launch my TVOnOFF macro with a .bat, a c++ or a python soft I could create with a graphic interface. Thanks a lot for all (and excuse my english, I'm french).
I made one but it's very long : my graphic soft launch an empty .exe applicaion, named "TVOnOFF.exe" wich open an empty window.
The macro have an event : "Task.Activated.TVOnOFF", a close instruction, and the IR action.
It's very long before the launch of the macro.
I tried to launch a .bat with "C:\Program Files\EventGhost\EventGhost.exe" -e TVOnOFF
exit
but it don't work.
I don't know the c++ and python languages but I tried to lern them.
Could you give me the entire code to launch my TVOnOFF macro with a .bat, a c++ or a python soft I could create with a graphic interface. Thanks a lot for all (and excuse my english, I'm french).