Replies: 2 comments 1 reply
-
EDIT: Just realized you’re not checking if the value changes from “Saved” but rather into “Saved”. In that case just setup a separate path for when value Does Contain “Saved” or “sauvegardé” and don’t use the fallback at all. You can create as many paths in a command block you want. BELOW is for if you’re checking if an element text changes from its original value: You can’t setup smth to not contain two things at the same time because it’ll always not contain one of them. For something looking to change value from “Saved” it’ll always not contain the French “sauvegardè” and vice versa and therefore never execute the fallback. You would probably instead want to grab the text from the element you’re checking for change (if not doing that already) and assign it a variable like “Saved” and then use the same rule but write {{variables.Saved}} and have just one path with one check so it’ll correctly execute the fallback. That’s the basics at least for a loop for checking when an element text changes values. |
Beta Was this translation helpful? Give feedback.
-
Does make sense! Thanks a lot for your time , I understand now
Indeed, I’ll switch for a different system now
…On Sat 7 Oct 2023 at 23:40, Delusionnnn ***@***.***> wrote:
Can’t see the video so hope this helps.
You can’t setup smth to not contain two things at the same time because
it’ll always not contain one of them. For something looking to change value
from “Saved” it’ll always not contain the French “sauvegardè” and vice
versa and therefore never execute the fallback.
You would probably instead want to grab the text from the element you’re
checking for change (if not doing that already) and assign it a variable
like “Saved” and then use the same rule but write {{variables.Saved}} and
have just one path with one check so it’ll correctly execute the fallback.
That’s the basics at least for a loop for checking when an element text
changes values.
—
Reply to this email directly, view it on GitHub
<#1428 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALOJTUG54ORIWSQRVWVBUGDX6HD4TAVCNFSM6AAAAAA5W44HUGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TEMJZGY3DM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
https://youtu.be/oK-ttrJ6-EM
Hey there, I'm using a sort of loading system that will retrieve an element text value, and check if it's value equals to 'saved', so we can quit the page.
I've tried to add multiple languages to it, like french for example
As soon as I add an 'or', it seems to behave as an 'and'
Am I missing something?
I made a quick video to show you the problem
Works as intended when I only put English : it is looking for 'saved' word.
If I add french using an 'or', it won't get out of the condition , even though it does find 'saved' value in the first span.
Beta Was this translation helpful? Give feedback.
All reactions