• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    On Value Change for text

    Showcase
    3
    6
    827
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tlaloc
      tlaloc Beta Silver last edited by

      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

      on_text_change.iua3

      jfg 1 Reply Last reply Reply Quote 5
      • jfg
        jfg @tlaloc last edited by

        @tlaloc

        Thanks for sharing. You can also get the same result without Javascript:

        best, Jean-François 

        • Izzy 3.2.6
        - MacBook Pro M1 Max 16" 64GB RAM, Mac OS 15.3.2 Sequoia
        - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB ),
        Mac OS 10.14.6 (Mojave)
        - Mac mini Pro M4, Mac OS 15.3.2 Sequoia

        • A range of deployable older Macs
          Located in Bremen, Germany
        clafarge 2 Replies Last reply Reply Quote 7
        • tlaloc
          tlaloc Beta Silver last edited by

          Nicht Slecht!

          1 Reply Last reply Reply Quote 1
          • clafarge
            clafarge Beta Tester @jfg last edited by

            @jfg

            Yours is preferred over mine... there's a limit to length of string that works well with mine. nice :)

            Chad LaFarge | Isadora 3.2.6, Win 10 64bit, i9-10900KF @ 3.70GHz, 64.0 GB RAM, NVIDIA GeForce RTX 3080 10 GB VRAM

            1 Reply Last reply Reply Quote 0
            • clafarge
              clafarge Beta Tester @jfg last edited by clafarge

              @jfg

              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!

              Chad LaFarge | Isadora 3.2.6, Win 10 64bit, i9-10900KF @ 3.70GHz, 64.0 GB RAM, NVIDIA GeForce RTX 3080 10 GB VRAM

              jfg 1 Reply Last reply Reply Quote 0
              • jfg
                jfg @clafarge last edited by

                @clafarge

                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 

                • Izzy 3.2.6
                - MacBook Pro M1 Max 16" 64GB RAM, Mac OS 15.3.2 Sequoia
                - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB ),
                Mac OS 10.14.6 (Mojave)
                - Mac mini Pro M4, Mac OS 15.3.2 Sequoia

                • A range of deployable older Macs
                  Located in Bremen, Germany
                1 Reply Last reply Reply Quote 1
                • First post
                  Last post