Current News

Moderator: Mmiscool

User avatar
By Mmiscool
#50618 Hello,

I just published a new build that includes new commands. This will allow styling of specific gui elements. Also implements the html 5 <meter> tag for the meter gui item.

Docs have been updated for this.
https://docs.google.com/document/d/1EiY ... YyJon8/pub

METER:
Will insert an html meter element into the page. Will update when the variable is changed.
Meter {var name}, {min value}, {max value}
Example:
x = 50
meter x, 0, 100


CSSID:
The cssid command will apply css to the desired item by id. This should be executed immediately after creating a gui object.
Example:
cssid htmlid(), "background-color: yellow;"

CSSCLASS:
The cssclass command will apply css to the desired class of gui objects.
Example: Will set all buttons to color yellow.
cssclass "button", "background-color: yellow;"

User avatar
By forlotto
#50620 Interesting... So meter can be used potentially with any variable?

I would imagine this would be handy for all the temp sensor guys out there.

The only thing I wonder is why is there a min and a max value? Can there be a negative value as in -32 degrees f. or freezing?


This is a rather interesting thing I could see people even using this to track their variables in real time as well.

Does the value need to be numerical or can it also be a string? I assume numerical due to the min and max value.