Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Search found 2 matches

by musical_edmond
Tue Aug 26, 2008 8:57 pm
Forum: Coding Corner
Topic: Noob macro question re parameters/arguments
Replies: 2
Views: 2258

Re: Noob macro question re parameters/arguments

Thanks jinxdone,
You set me off in the right direction and my macro is now working. In case anyone else finds this based on the subject, this is the code I ended up with in EventGhost:

#dbox.py
import sys

tvchan = eg.event.payload[0]
if tvchan <> '21':
eg.Exit()

dboxchan = eg.event.payload[1 ...
by musical_edmond
Sun Aug 24, 2008 12:54 am
Forum: Coding Corner
Topic: Noob macro question re parameters/arguments
Replies: 2
Views: 2258

Noob macro question re parameters/arguments

I'm using the Digiguide EPG and want to change my Dbox (cable box) channel when PVR recording. I'm successfully triggering EventGhost (EG) from the Digiguide using the command:

eventghost.exe -e dbox channel channelname

For example:

eventghost.exe -e dbox 25 305 Sky One

I want an EG macro to ...