Blinking Image for low battery

Hi, i am not very fit in scripting. Mostly i am learning by inspecting open watch faces. Just had a look and you seem to be right that it´s missing in the documentation.

Maybe you should ask the math cracks in here. :slight_smile:

“&&” for sure is “and”

“||” is a form of “or” but i don´t know exactly if it is what you are looking for.

Example:

TRANS: $((#DH# * 100) + (#Dm#)) == 1200 || ((#DH# * 100) + (#Dm#)) == 1530? 100 : 0$

This will make an item visible at 2 different times.

You will find the “or” as well in the conditionals.

I hope this will help you a little bit.

Greetings, GAUSS.

The boolean operators are documented, although very cryptic…

Note that you can have max 3 conditions for a single if test.
You can do: if this then that ,else if this then that etc but there are several restrictions on using this and things don’t always work like you would expect.
Official documented is limited and what works seems to vary between the Facer fields…

The best info is on this forum; you just need to find it.
See threads that I have found on the topic below; I am sure there are more:



1 Like