<div class="gmail_quote">On Mon, Apr 2, 2012 at 3:21 PM, Raymond Norton <span dir="ltr">&lt;<a href="mailto:admin@lctn.org" target="_blank">admin@lctn.org</a>&gt;</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&#39;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&#39;m not a Perl genius, either, but I can&#39;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&#39;s what is needed.<br>


<br>Could it be that your old DirecTV set top box won&#39;t accept four digit channel changes?  Sorry if that&#39;s something you&#39;ve already checked.  Otherwise, you&#39;ll have to add some debug lines in the script to see what&#39;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&#39;t have a cable box or I&#39;d try your script.<br><br>Good luck!<br>Jerry<br></div></div>