thunder;356606 Wrote: 
> Asking the Question again...
> 
> How can I change the Strings "HIGH" and "LOW" to "HI" and "Low" so that
> I save some space on my Boom?
> 
> Thank you,
> Thunder.

Open SuperDateTime/Plugin.pm.  Search for the lines that contain
*hilo*, and change the hilo string assignment to *'High '* with *'Hi
'*, and the same for 'Low ', such as:


Code:
--------------------
    
        if ($wetData{$i}{'forecastType'} eq 'HIGH') {
                        $hilo = 'Hi ';
                }
                else {
                        $hilo = 'Lo ';
                }
  
--------------------


Also search for *LOW* in all caps; you'll find a substitution line:


Code:
--------------------
    
  s/LOW/ LOW/;
  
--------------------


Change that to:


Code:
--------------------
    
  s/HIGH/Hi/;
  s/LOW/Lo/;
  
--------------------


Then restart the server.


-- 
MrC
------------------------------------------------------------------------
MrC's Profile: http://forums.slimdevices.com/member.php?userid=468
View this thread: http://forums.slimdevices.com/showthread.php?t=14327

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to