• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    My new plugin : CharacterCount (text length)

    Troubleshooting and Bug Reports
    6
    7
    2.0k
    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.
    • djinouiD
      djinoui
      last edited by

      Hi,

      Here is a new plugin I made. Its purpose is to give you the length of a text.
      INPUT:
      - Input text
      - Linebreak mode (windows CR/LF, mac CR, unix/macosx LF). 
      - Ignore new lines
      - Ignore tab characters
      - Ignore space characters
      - Autocount on input change
      - Trigger counting
      OUTPUT:
      - Text length
      - 'Length updated' trigger
      ABOUT LINEBREAKS:
      You have to choose the proper mode according to the input text or else the result will be erratic... If you use e.g. [this other plugin](http://troikatronix.com/troikatronixforum/discussion/694/read-text-from-a-file-i-wrote-a-plugin) to generate text, you have to make both linebreak modes match with the same value. If your text comes from an Isadora actor, just choose linebreak mode according to the OS you work on. More info: [http://en.wikipedia.org/wiki/Line_break_(computing)](http://en.wikipedia.org/wiki/Line_break_(computing)) 
      IN THE ATTACHED ZIP FILE:
      - Windows DLL (to install, just copy the .dll file into ‘IsadoraInstallationFolder\Isadora Plugins’, e.g. C:\Program Files\Isadora\Isadora Plugins. Don’t forget to restart Isadora.)
      - 2 Visual studio 2010 source files, feel free to compile it using xCode for a Mac version
      I haven't tested it much yet, so please post a comment below if something doesn't work.
      Have fun 😉

      01a2a2-charactercount-v1.0-pack.zip

      Computer: Asus N76VZ PC, Windows 7x64, Intel I7, 6G RAM, Isadora v1.3.1f06
      Isadora SDK dev computer: VirtualBox PC, Windows XPx32, 2G RAM, Isadora v1.3.1f06

      1 Reply Last reply Reply Quote 1
      • SkulptureS
        Skulpture Izzy Guru
        last edited by

        Thanks for sharing 🙂

        Graham Thorne | www.grahamthorne.co.uk
        RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
        RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
        RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

        1 Reply Last reply Reply Quote 0
        • ArmandoA
          Armando Beta Gold
          last edited by

          Thank you.


          Armando Menicacci

          www.studiosit.ca
          www.armandomenicacci.net

          Macbook pro 16 inches 2022 64 GB RAM, M1 MAX. OS 14 Sonoma

          1 Reply Last reply Reply Quote 0
          • djinouiD
            djinoui
            last edited by

            😉

            Computer: Asus N76VZ PC, Windows 7x64, Intel I7, 6G RAM, Isadora v1.3.1f06
            Isadora SDK dev computer: VirtualBox PC, Windows XPx32, 2G RAM, Isadora v1.3.1f06

            1 Reply Last reply Reply Quote 0
            • G
              gamingmonitor
              last edited by

              @armando said:

              nk you.

               Your opinion is very good

              The XL2411Z is an amazing FPS gaming monitor--> click view https://thebestgamingmonitor.com

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

                Hi,

                Thank you,

                For mac, I haven't tried to compile it but sinds the javascript actor I've been using this code:

                function main()
                {
                var str = arguments[0];
                var n = str.length;
                return n;
                }

                The javascript actor is very helpful for text. I also use it to split, trim,... 

                www.gertjanbiasino.be

                1 Reply Last reply Reply Quote 2
                • WolandW
                  Woland Tech Staff
                  last edited by

                  @Bob288 

                  Thought this might interest you, in relation to your pet project.

                  TroikaTronix Technical Support
                  New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                  TroikaTronix Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                  TroikaTronix Add-Ons Page: https://troikatronix.com/add-ons/

                  | Isadora 3.2.6 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

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