Show Preset folder
-
Hi there, is it possible in the preset browser where you can click on show preset folder to hide everything else (Import all ....., Export all ......, ...) or access the preset folder differently? Maybe with a button that accesses the path to the preset browser when clicked?
-
@treynterrio said in Show Preset folder:
Maybe with a button that accesses the path to the preset browser when clicked?
This.
You can use the File and FileSystem APIs to do it.
-
This post is deleted! -
This post is deleted! -
@d-healey I tried a couple things now the script says Compiled Ok but it doesn't work in HISE and it doesn't work in the exported Plugin.
I tried something like this:
inline function onButton1Control(component, value) { if (value) { if (Engine.getOS() == "OSX") { local folderPathMac = FileSystem.fromAbsolutePath("/Library/Application Support/HZE/SYNBIOSIS/User Presets");
-
There's a built in constant you can use that works on all platforms.
HiseSnippet 819.3ocsUstZaCCEVJMtLmsUVg8.X5OJNPIjr0cAJi0kaivVZCKsk8uhprRinxRAI4tEF8AauB6W6QYuAaGY6z3zV5k.y+vnyMouyQemiFnUTlwnzHr+ASmvP3m3MbpzNt0XBWh50FgWyqOwXY5fLUMmNgXLrHDFuxGcJv9kQoe+48MIBhjxlqBgNRworOyi414ZGr6m3BQWRD6.dbAu2d2dTkrkRnR.7rhWczDB8Lxor8HN2J4gvq1IhaU5gVhkY.eZphlNbr5axL+Oha3mHXNgFngvFkoF0ZLWDMXVtZPHb4Ayy7Uxx7m60mGwuT+7JvyRMDLOhh0.boaCRMd.PBW.Rkyfz5dCoZ9D6bKN77XudR3BYDAJ0EgRlunR+F60RAdHs0hImw5pAgKiH700quU.7q5NUpvkBtjELJQRsbkLPIalXsJYCW7ZkHjphmnjvNsUv4DQBqZkeTwmOJHLWx2WyrIZ4NvpJ9BEkHBh35f2EzkKXCmBDm3ZmxrcUhHlNrfxCML8.MyvrF.I9Y6J2zlMBPTTHrIUC1bS2lUCzx0LJTjmFV0clNkFnDGVcG+JW.4wrzENoVyPb3F44xFUqYb5SynVDg3DfUEd0TE.QgxvdJKaeYXZ5V4hJAW0znQ2ns78R.o5MY1Q202Vfgxj3SX5hEami.eXQR1p2ORFMqrTvQkrmja2eBKWN8dIJa80ojn75Jr5vdsIVhiklqC7aBSa4N3fayNGZyy3r9dsYlyrpIo9leY.P1lZcsbFcVwGwibAjeSf9NB6g+EbZScK9Irfa5qhg3IZPEtjgbNqmLi13X7nq2x.MqpnDAwtXGraTUtAnhuPaiq0PZ31oEGk8.Zqqeqs02WHtt2.tkN9lwXoa.ivcw+CLlOL7odcFMB54lCvxdc+5xN46NN9unRrb4o8IVM2wA1KIdH7F.kAmtTxDFGcnjiOlIW2I6p.CYxnTg+Be4Fa3jw4FaLyHJlP0pioY8YtwsOJUCfIY5qK9vybfbPCTZuWw5bLL8+XJcws5ZA9hkMvWtrAt8xF3qV1.e8xF3aV1.e6cGn6w4OjXUwYsMHT+AcRGVgwcjDfAlxVQ+S4uN39
-
@d-healey Is it also possible to the User Folder directly at the push of a button? With the script it just shows where it is and then has to be opened then
-
@treynterrio said in Show Preset folder:
Is it also possible to the User Folder
Yeah should be because the name is the same on all systems. Use the code I gave above and go the next level.