• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

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

    Counting characters

    How To... ?
    5
    8
    1672
    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.
    • Maximortal
      Maximortal last edited by

      Hi,

      I need some kind of actor able to count number of characters incoming to his imput (from a text actor or a control is the same). Any ideas how to?
      Thanks in advance

      Iro Suraci | Win 10 - Ryzen 3600 - 32GB - nVidia gtx 960 4gb / Win 10 - i5 4210U - 8 GB - R5 M230 | Isadora 3.0.7| Located in Brescia, Italy

      1 Reply Last reply Reply Quote 0
      • DusX
        DusX Tech Staff last edited by

        This is very easy to do in V2 using Javascript.
        What version are you working with?

        Troikatronix Technical Support

        • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
        • Isadora Add-ons: https://troikatronix.com/add-ons/
        • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

        Running: Win 10 64bit, i7-8750H, M.2 PCIe SSD's, 16gb DDR4-2666, nVidia GTX 1070 | located in Ontario Canada.

        1 Reply Last reply Reply Quote 0
        • m_theater
          m_theater last edited by

          @Maximortal if you are using version 1

          have a look in the chamsys actor
          http://troikatronix.com/troikatronixforum/discussion/1457/isadora-chamsys-magicq#Item_2
          in the "chamsys engine" is a data length calculator
          which is basically doing what you want …
          Text Wrapper -> Text Parser -> Counter -> Reset after Analysing
          best
          clemens

          avk4.net

          1 Reply Last reply Reply Quote 0
          • Maximortal
            Maximortal last edited by

            @DusX I'm on 2.04b win  unfortunately my classes of java script was many time ago! I do not remember anything...shame on me!!!!

            @m_theater thanks I'll take a look soon 

            Iro Suraci | Win 10 - Ryzen 3600 - 32GB - nVidia gtx 960 4gb / Win 10 - i5 4210U - 8 GB - R5 M230 | Isadora 3.0.7| Located in Brescia, Italy

            1 Reply Last reply Reply Quote 0
            • DusX
              DusX Tech Staff last edited by

              @Maximortal 
              much power to be had with Javascript in V2.

              I suggest going thru the tutorial here: http://troikatronix.com/support/kb/getting-started-with-javascript/

              and take a quick look at this string property: http://www.w3schools.com/jsref/jsref_length_string.asp

              Troikatronix Technical Support

              • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
              • Isadora Add-ons: https://troikatronix.com/add-ons/
              • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

              Running: Win 10 64bit, i7-8750H, M.2 PCIe SSD's, 16gb DDR4-2666, nVidia GTX 1070 | located in Ontario Canada.

              1 Reply Last reply Reply Quote 0
              • m_theater
                m_theater last edited by

                @DusX,

                wow that makes the game much easier and probably faster …
                someone willing to write a tutorial on filtering / replacing values with js in isadora V2 ?

                avk4.net

                1 Reply Last reply Reply Quote 0
                • primaldivine
                  primaldivine last edited by

                  new tutorials are coming for the public release... a whole slew of them :)

                  Pro-User Latest Beta - MacBook Pro i7 2.66GHz SSD
                  www.jamiegriffiths.com Arctic Canada
                  www.chickweedarts.com

                  1 Reply Last reply Reply Quote 0
                  • crystalhorizon
                    crystalhorizon Beta Platinum last edited by

                    Great, cant wait!

                    Alexander Nantschev | http://www.crystalhorizon.at | located in Vienna Austria

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post