Really,  3 slashes?

-= Mike

On 3/6/15 3:26 PM, Mark Wieder wrote:
Michael Doub <mikedoub@...> writes:

           if there is a folder "/sys/class/power_supply/BAT0" then
              put url "/sys/class/power_supply/BAT0/Status" into tStatus
           else if there is a folder "/sys/class/power_supply/BAT1" then
              put url "/sys/class/power_supply/BAT1/Status" into tStatus

Getting better. The "status" file should be lowercase though
And now that I'm looking at it again, I don't think that's the proper format
for the url command. It should be

put url "file:///sys/class/power_supply/BAT0/status" into tStatus




_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to