first off, great software, very handy tool indeed.
im trying to code a small python script that will eventually open xbmc if its not already open, if it is open, it will close it.
this is the event i wish to trigger
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1194">
<Action>
XBMC.Quit()
</Action>
</EventGhost>"
and shows this in the logs
XBMC: Quit XBMC
when i try this as a macro ,
eg.TriggerEvent(" XBMC.Quit()")
this is what logs show;
Main.XBMC.Quit()
it seems to add the main prefix instead of the xbmc prefix, i guess im doing something wrong, but i hope someone can help me?
thanks in advance,
Dam0
eg.TriggerEvent() help pls
Re: eg.TriggerEvent() help pls
Code: Select all
eg.TriggerEvent("Quit()", prefix="XBMC")
Re: eg.TriggerEvent() help pls
thanks heaps m8:-)
regards,
Dam0
regards,
Dam0