so pretty much i want this to be able to grab the phone number off the actual event so i can display the CID information on the OSD


Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="918">
<Macro Name="AndroidPhoneRinging" Expanded="True">
<Event Name="Main.Android.PhoneState.RINGING.*" />
<Action>
EventGhost.PythonCommand(u"eg.result=eg.event.string.split('.')[-1]")
</Action>
<Action>
EventGhost.ShowOSD(u'{eg.result}', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 0, (0, 0), 0, 3.0, False)
</Action>
</Macro>
</EventGhost>I have pasted this in eventghost, but how to connect my phone with eventghost?typeiionair wrote:Somethings are easier shown then explained...
so pretty much i want this to be able to grab the phone number off the actual event so i can display the CID information on the OSD