2004-11-11, 16:11
thanks(as always) jmarshall.
since i first proposed this addition, i think the idea has moved on from simply 'switching screens' to a 'run script' addition.
what i mean is the remote obc calls a script - the script can then 'switch screen' ~ but as you know, you can do so much more with scripts.
with that said...
suppose for a minute, all obcs ran a script in scripts\rc_actions\ and the scripts were all called activewindowname.obc.py people could effectively handle events for every window automatically.
this would negate the need for configuration of xml file. simply put homewindow.123.py script into \rc_actions\ and when ir obc 123 is pressed in the homewindow, the script is executed!
additional windows require no extra code & scripting becomes an automatic addition.
is this a viable solution? would this require more work upfront (in xbmc coding term)? or am i pain daft?
comments?
i'll save the question about running an xbe from a script for later!
since i first proposed this addition, i think the idea has moved on from simply 'switching screens' to a 'run script' addition.
what i mean is the remote obc calls a script - the script can then 'switch screen' ~ but as you know, you can do so much more with scripts.
with that said...
suppose for a minute, all obcs ran a script in scripts\rc_actions\ and the scripts were all called activewindowname.obc.py people could effectively handle events for every window automatically.
this would negate the need for configuration of xml file. simply put homewindow.123.py script into \rc_actions\ and when ir obc 123 is pressed in the homewindow, the script is executed!
additional windows require no extra code & scripting becomes an automatic addition.
is this a viable solution? would this require more work upfront (in xbmc coding term)? or am i pain daft?
comments?
i'll save the question about running an xbe from a script for later!