Hello.
Is there any way to create an expression with the day of the week #DE# so that it always shows, for example, Monday, even if it’s not Monday? I don’t want to do it with text since I want to create a multi-language week day indicator.
I’m not sure if I’m explaining myself clearly, but I want to use #DE# in the text and an expression in the opacity that I imagine will be #DOW# so that, when it’s a day of the week other than Monday, it always looks like Monday.
Maybe you mean this:
The first day is “today” and the rest of the days are those after that…
Inspection is open …:
#DE# will always show current day in local language by the settings.
I highly doubt there would be a way to make the whole week localized with Facers current set of tools.
I know that #DE# will always display the current day in the local language according to the settings. I doubt there is a way to localize the entire week with the current set of Facer tools. I don’t know how to make many expressions, and what I’m going to put I know is wrong, but I want to do something like this.
$#DOW#1!==1?25:25$$
The expression I am trying to make is that when it is not Monday, it shows Monday with an opacity of 25, and I want to do this day by day, so that when it is not Tuesday, it shows Tuesday with the same opacity… and so on for all the days, forming the week and putting another layer on top of each corresponding day with 100 opacity, thus showing it in the configured language, not just in abbreviated English.
I made the image with text, not with expressions to show what I’m trying to do. I have put the example in Spanish and English.
OK, should be fairly simple.
Your week days are all just text elements.
And each one will have an opacity:
DOM:
$#DOW#=0?100:25$
LUN:
$#DOW#=1?100:25$
etc.
Unfortunatelly Facer has no tag to diferentiate the language settings, so you either make all translations visible all the time, or you just pick one fixed language.
thank you for the help, but that is not what I am looking for
I ask again, can an expression be created (I don’t want to put it in text), so that when it is NOT Monday, it shows Monday with an opacity of 25?
That is exactly what Tom suggested earlier.
Make a text layer with Monday (or image with the same word on it if you want), and put
$#DOW#==1?100:25$
in its opacity field on properties tab. When the condition is met (the current day is Monday), the opacity will be 100. On every other day it will be 25.
What I intend to do, I don’t want to do it with a layer of text or an image, I want it to be an expression formula that does it by itself. I know how to do it with layers of text and images, I’m looking for a direct expression that does it. I don’t know how to create complicated expressions, I think I could do it with true or false, or if it is different from … but no matter how much I try and look, I can’t manage to do it.
Sorry, I still think you have to use the magical formula onto something. No “direct expression” formula will materialize something out of nothing.
I do not see any other way to change the opacity of any element, than putting formula in the opacity field in its properties tab.
I’m no expert - far from it! But you have answers to your question from true experts here in the forum. The have said use text and layers for a reason - because that is the way they would do it. You can’t expect in my opinion them to develop some sort of equation for you - at least showing what you tried and then they might point you in the right direction. The best thing is not to over complicate things and keep things simple. Many here keep their designs open for inspection so that users like me can see how things are done