HISE Logo Forum
    • Categories
    • Register
    • Login

    How do I... copy a widget between projects

    Scheduled Pinned Locked Moved General Questions
    7 Posts 3 Posters 594 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.
    • LindonL
      Lindon
      last edited by

      I cant seem to make this simple functionality work.

      Clearly Ctrl-C wont get a widget copied to the clipboard

      Ctrl-D only duplicates in situ

      I've tried copying the JSON, but that seems to get pasted then ignored...

      There must be a way to do this ..surely...

      HISE Development for hire.
      www.channelrobot.com

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

        @Lindon Paste the JSON and hit F5

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

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @d.healey
          last edited by

          @d-healey done that. Nothing happens. No new widget shows up.

          HISE Development for hire.
          www.channelrobot.com

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

            Yep, confirmed, this doesn't work.

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

            1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart
              last edited by

              Honestly I've never needed this, and there was nobody requesting it until now, but I agree it makes sense :)

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

                I found a way to transfer an entire GUI from one project to another. If you save your project as an XML then the UI data is saved in a separate folder (as long as you have added an interface script to the project). All you need to do is replace this folder with the one from your other project.

                I haven't tried it but I see no reason why you couldn't edit the UI Data in a text edit (it's an XML file too) and copy and paste individual widgets between projects that way.

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

                LindonL 1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @d.healey
                  last edited by Lindon

                  @d-healey sounds gnarly - but I will give it a try - I'm really surprised no one has asked for this before...so it would be really really nice if we could use the JSON to do this....☺

                  HISE Development for hire.
                  www.channelrobot.com

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

                  44

                  Online

                  1.7k

                  Users

                  11.7k

                  Topics

                  101.9k

                  Posts