On Value Change for text
-
Chad LaFarge, and I have been needing a trigger on change actor for strings.
With some really fun back and forth collaboration Chad created and awesome way of doing it. We thought it may be pretty useful for other isadora users as well.
Two things were necessary in our project.
1. The ability to easily pass text in and not have it output a value if it saw a repeat of that last string.
2. Give us a trigger out if the string changes.
After many iterations we thing the following user actor will prove very useful.
Please let us know if you have any questions.
Methodology:
We change each character to a number and simply pass that through a value change actor and then only output the string again if it is changed, and pass that trigger out of the actor as well.
Once again huge shout out to Chad who took my idea spaghettis and made it into something fun to share and very robust.
Tlaloc -
-
Nicht Slecht!
-
Yours is preferred over mine... there's a limit to length of string that works well with mine. nice :)
-
When I set this up as displayed, it does not allow entering an empty value... JS might have one edge in that respect, when used with Text Comparator, or I may have done something wrong. Very useful, at any rate.
Thank you!
-
I don't know how you send the text to the input of the user actor/macro but for me it works with my macro or your user actor.(see pictures)
empty:
not empty:
best, Jean-François