Power Status (was Re: Because LC can't do two things at once.)

Michael Doub mikedoub at gmail.com
Fri Mar 6 16:12:56 EST 2015


Really,  3 slashes?

-= Mike

On 3/6/15 3:26 PM, Mark Wieder wrote:
> Michael Doub <mikedoub at ...> 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
>
>





More information about the use-livecode mailing list