Forum

    • Register
    • Login
    • Search
    • Categories

    best way to escape....

    Scripting Forum
    4
    16
    115
    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.
    • ulrik
      ulrik last edited by

      I often end up using ScriptLabels for user to input values, but if the user change her mind and want to escape the ScriptLabel, what is the best way for me to script this (to hide it)?
      Do I have to use a timer for that or is it an easier way?
      The most intuitive way would be to press "esc" key, but Hise doesn't have access to key press.

      If it would be possible I would love access to keypress and also to be able to set labels ready to just type.

      escape label.gif

      Hise Develop branch
      MacOs 13, Xcode 14.0.1
      http://musikboden.se

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

        Hise doesn't have access to key press.

        Now it has 🙂

        https://docs.hise.audio/scripting/scripting-api/scriptpanel/index.html#setkeypresscallback

        DanH ulrik 4 Replies Last reply Reply Quote 5
        • Natan
          Natan last edited by

          😂 OMG That Title 😆
          The Answer Is RUN 🏃

          alt text

          ulrik 1 Reply Last reply Reply Quote 4
          • DanH
            DanH @Christoph Hart last edited by

            @Christoph-Hart I've asked you this before but is there a way to use this now turn off keyboard focus for compiled plugins?

            1 Reply Last reply Reply Quote 1
            • ulrik
              ulrik @Christoph Hart last edited by

              @Christoph-Hart
              This is a typical example of what is sooo fun and surprising on this forum, Hallelujah! 🥳 🤗

              Hise Develop branch
              MacOs 13, Xcode 14.0.1
              http://musikboden.se

              1 Reply Last reply Reply Quote 1
              • ulrik
                ulrik @Natan last edited by

                @Natan 😂

                Hise Develop branch
                MacOs 13, Xcode 14.0.1
                http://musikboden.se

                1 Reply Last reply Reply Quote 1
                • ulrik
                  ulrik @Christoph Hart last edited by

                  @Christoph-Hart I saw that the "Master" branch have the latest updates, is this the branch one should use now?

                  Hise Develop branch
                  MacOs 13, Xcode 14.0.1
                  http://musikboden.se

                  ulrik 1 Reply Last reply Reply Quote 0
                  • ulrik
                    ulrik @ulrik last edited by

                    @ulrik never mind, the Master branch is way behind Develop 🙂

                    Hise Develop branch
                    MacOs 13, Xcode 14.0.1
                    http://musikboden.se

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

                      @Christoph-Hart
                      latest develop failed on MacOs 10.15.7 Xcode 12.0
                      Skärmavbild 2021-08-26 kl. 18.01.35.png

                      Hise Develop branch
                      MacOs 13, Xcode 14.0.1
                      http://musikboden.se

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

                        please try again...

                        ulrik 1 Reply Last reply Reply Quote 1
                        • ulrik
                          ulrik @Christoph Hart last edited by

                          @Christoph-Hart old errors gone but a new one
                          Skärmavbild 2021-08-26 kl. 19.18.57.png

                          Hise Develop branch
                          MacOs 13, Xcode 14.0.1
                          http://musikboden.se

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

                            please try again...

                            ulrik 2 Replies Last reply Reply Quote 1
                            • ulrik
                              ulrik @Christoph Hart last edited by

                              @Christoph-Hart Success!! 🙂

                              Hise Develop branch
                              MacOs 13, Xcode 14.0.1
                              http://musikboden.se

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

                                @Christoph-Hart I'm playing around with this new feature, it looks really powerful, thanks once again!
                                I have a question:
                                I use 3*2 "specialKeys" (å, ä, ö, Å, Ä, Ö)
                                they have their keyCode but not the character, is it possible to attach their characters somewhere?
                                I have no problem to type them anywhere else in Hise but here it's not working

                                Hise Develop branch
                                MacOs 13, Xcode 14.0.1
                                http://musikboden.se

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

                                  it works here - they are part of the UTF16 character set, so the description shows their unicode number, but if you attach the character as shown in the example, it will show them correctly as part of the string.

                                  ulrik 1 Reply Last reply Reply Quote 1
                                  • ulrik
                                    ulrik @Christoph Hart last edited by ulrik

                                    @Christoph-Hart yes it works if I attach the characters it works, thank you!

                                    Hise Develop branch
                                    MacOs 13, Xcode 14.0.1
                                    http://musikboden.se

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

                                    3
                                    Online

                                    977
                                    Users

                                    6.6k
                                    Topics

                                    60.6k
                                    Posts