Forum

    • Register
    • Login
    • Search
    • Categories

    Show something on first plugin launch only?

    General Questions
    3
    4
    79
    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.
    • T
      tomekslesicki last edited by

      I'm wondering if it would be possible to show a panel only the first time the plugin is loaded? I'd like to add a little quick tutorial for the interface, but I don't want it to show every time. Thanks, again!

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

        Yes, you'll need to use import/export JSON data. You'll add a flag to the JSON object which you can check when the instrument is loaded and set to true after first load.

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

        1 Reply Last reply Reply Quote 0
        • ustk
          ustk last edited by

          @tomekslesicki Dave's right and I would add that you can put a button in a setting page for instance that resets the flag. So the panel appears again at the next launch...

          I can't help pressing F5 in the forum...

          1 Reply Last reply Reply Quote 0
          • T
            tomekslesicki last edited by

            Nice! I'll research that, thanks! 🙂

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

            26
            Online

            1.1k
            Users

            6.8k
            Topics

            62.4k
            Posts