HISE Logo Forum
    • Categories
    • Register
    • Login

    Best way to display text within a plugin from an external file?

    Scheduled Pinned Locked Moved General Questions
    text
    8 Posts 4 Posters 392 Views
    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.
    • gorangroovesG
      gorangrooves
      last edited by gorangrooves

      Hey guys,

      I would like to set up an external file that contains the "about" information for the plugin and have the plugin display its content.
      What format can this file be in?
      Is there a way to display RTF or HTML or it has to be a script file with plain text, which then gets loaded into a label?

      I want to avoid having to create a new label for every line of text I want to present. Is this possible?

      Goran Rista
      https://gorangrooves.com

      Handy Drums and Handy Grooves
      https://library.gorangrooves.com

      d.healeyD Dan KorneffD 2 Replies Last reply Reply Quote 0
      • d.healeyD
        d.healey @gorangrooves
        last edited by d.healey

        @gorangrooves Is there a reason you don't want to use the built-in about floating tile?

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        gorangroovesG 1 Reply Last reply Reply Quote 0
        • gorangroovesG
          gorangrooves @d.healey
          last edited by

          @d-healey No reason at all. Where does the text get derived from?

          Goran Rista
          https://gorangrooves.com

          Handy Drums and Handy Grooves
          https://library.gorangrooves.com

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @gorangrooves
            last edited by d.healey

            @gorangrooves I think it's meant to be derived from project properties, but it's a little bugged with some of the info. But you can edit the bugged info in the property editor.

            7fef337f-2e3e-4422-b3ec-fe56a180c2a2-image.png

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            1 Reply Last reply Reply Quote 0
            • Dan KorneffD
              Dan Korneff @gorangrooves
              last edited by

              @gorangrooves said in Best way to display text within a plugin from an external file?:

              Is there a way to display RTF or HTML or it has to be a script file with plain text, which then gets loaded into a label?

              I think you could probably borrow some concepts from the Simple Copy Protection script to write/display data from a .js file.

              Link Preview Image
              hise_tutorial/SimpleCopyProtection/Scripts/Authorisation.js at master ยท christophhart/hise_tutorial

              The Tutorial project for HISE. Contribute to christophhart/hise_tutorial development by creating an account on GitHub.

              favicon

              GitHub (github.com)

              Dan Korneff - Producer / Mixer / Audio Nerd

              gorangroovesG 1 Reply Last reply Reply Quote 0
              • gorangroovesG
                gorangrooves @Dan Korneff
                last edited by

                @dustbro Yes, that's what I was thinking, but wanted to see if there was a more "proper" way of doing it.
                @d-healey Your screenshot reminds of why I decided not to use the "about" panel. Nobody cares what the plugin was built with, at what time etc. ๐Ÿ˜€
                I want to include relevant info such as what the plugin does and where to find more information on how to use it, as well as who designed it, produced it etc.

                Goran Rista
                https://gorangrooves.com

                Handy Drums and Handy Grooves
                https://library.gorangrooves.com

                d.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @gorangrooves
                  last edited by d.healey

                  @gorangrooves

                  Nobody cares what the plugin was built with, at what time etc. ๐Ÿ˜€

                  You will when you get a bug/error report :D

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  1 Reply Last reply Reply Quote 1
                  • Casey KolbC
                    Casey Kolb
                    last edited by

                    You can really easily draw text to a panel. Can't you just pull in a file and print whatever text you retrieve to a panel or multiple panels?

                    Casey Kolb
                    Founder & CEO of Lunacy Audio
                    Composer | Producer | Software Developer

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

                    14

                    Online

                    1.7k

                    Users

                    11.9k

                    Topics

                    103.5k

                    Posts