<div class="gmail_quote">On Mon, Apr 2, 2012 at 3:21 PM, Raymond Norton <span dir="ltr"><<a href="mailto:admin@lctn.org" target="_blank">admin@lctn.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
My channel change script only allows me to change channels up to three digits.<br>
<br>
See here: <a href="http://pastebin.com/CTDwvyJ4" target="_blank">http://pastebin.com/CTDwvyJ4</a><br>
<br>
I'm not a scripting genius, so not sure how to fix it. Anyone have a better script or can tell me what to change so I can change to four digit channels?<br>
<br>
(This is for a Command IR unit an an old DirecTV Set Top box.)<br>
<br></blockquote><div><br>I'm not a Perl genius, either, but I can't see anything in that script which would be limiting you to three digit channel changes. There is a bit in there that adds spaces between the digits in the string but I suppose that's what is needed.<br>
<br>Could it be that your old DirecTV set top box won't accept four digit channel changes? Sorry if that's something you've already checked. Otherwise, you'll have to add some debug lines in the script to see what's going on (printing the variables as they go through the loop to a file perhaps). Something like <a href="http://www.troubleshooters.com/codecorn/littperl/perlfile.htm" target="_blank">http://www.troubleshooters.com/codecorn/littperl/perlfile.htm</a> might work.<br>
<br>Troubleshooting can be a pain in the butt but you might find your answers that way. I don't have a cable box or I'd try your script.<br><br>Good luck!<br>Jerry<br></div></div>