Display Filename via Label + Sampler
-
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?
-
@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 -
@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!