Forum
    • Categories
    • Register
    • Login

    How do I... copy a widget between projects

    Scheduled Pinned Locked Moved General Questions
    7 Posts 3 Posters 786 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

      David HealeyD 1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @Lindon
        last edited by David Healey

        @Lindon Paste the JSON and hit F5

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @David 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
          • David HealeyD
            David Healey
            last edited by

            Yep, confirmed, this doesn't work.

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - 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
              • David HealeyD
                David 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.

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

                LindonL 1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @David 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

                  51

                  Online

                  2.1k

                  Users

                  13.0k

                  Topics

                  113.0k

                  Posts