HISE Logo Forum
    • Categories
    • Register
    • Login

    Display Filename via Label + Sampler

    Scheduled Pinned Locked Moved General Questions
    filenamedisplay namelabel name
    3 Posts 2 Posters 278 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.
    • trillbillyT
      trillbilly
      last edited by

      Hey Gang,

      I created a post a while back about this but couldnt find it anywhere.

      I was able to get a label to display the Preset name, great. Now, I need to be able to display a Filename from CustomSampleImport script of Sampler.

      This means it will be reading and displaying Filename from Absolute Path.

      I've been going at it for some time now and by now my brain is mush (I feel like Im making it much harder than it is).

      Could anyone post a snippet with this?

      Matt_SFM 1 Reply Last reply Reply Quote 0
      • Matt_SFM
        Matt_SF @trillbilly
        last edited by

        @trillbilly I'm not in front of my computer right now but use this with your file reference :
        https://docs.hise.audio/scripting/scripting-api/file/index.html#tostring

        Develop branch
        Win10 & VS17 / Ventura & Xcode 14. 3

        trillbillyT 1 Reply Last reply Reply Quote 1
        • trillbillyT
          trillbilly @Matt_SF
          last edited by

          @Matt_SF Thanks! Yes, I was pointed in this direction last time. I've got to be making a stupid mistake. I'm nit at my computer right now either but when I am I will post where I'm at with it.

          Any help in the meantime is appreciated!

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

          10

          Online

          1.7k

          Users

          11.8k

          Topics

          102.8k

          Posts