Forum

    • Register
    • Login
    • Search
    • Categories

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

    General Questions
    text
    4
    8
    85
    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.
    • gorangrooves
      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.healey dustbro 2 Replies Last reply Reply Quote 0
      • d.healey
        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

        gorangrooves 1 Reply Last reply Reply Quote 0
        • gorangrooves
          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.healey 1 Reply Last reply Reply Quote 0
          • d.healey
            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
            • dustbro
              dustbro @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.

              https://github.com/christophhart/hise_tutorial/blob/master/SimpleCopyProtection/Scripts/Authorisation.js

              Dan Korneff - Producer / Mixer / Audio Nerd

              gorangrooves 1 Reply Last reply Reply Quote 0
              • gorangrooves
                gorangrooves @dustbro 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.healey 1 Reply Last reply Reply Quote 0
                • d.healey
                  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 😄

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

                  1 Reply Last reply Reply Quote 1
                  • Casey Kolb
                    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

                    21
                    Online

                    793
                    Users

                    5.5k
                    Topics

                    51.6k
                    Posts