Support Folder Path?

Post Reply New Topic
RELATED
PRODUCTS

Post

trying to get the support folder path... and it seems like these both return null...

I'm running these in my init()

Code: Select all

getExtensionDefinition().getSupportFolderPath()
getExtensionDefinition().getHelpFilePath()
this seems to work fine

Code: Select all

getExtensionDefinition().getName()
Am I missing something? is it delayed somehow? or broken implementation?
----------------------------------------------------------------------
/CTRL → http://slashctrl.io
Music & mixes → http://soundcloud.com/kirkwoodwest

Post

Digging deeper it looks like those paths return null in the extension and have to be overriden. But what do I override them with?

Code: Select all

Paths.get(System.getProperty("user.home") + "\\Documents\\Bitwig Studio\\Extensions\\"+ "file.txt");
Maybe this will work for the time being on my windows machine but i suspect it will break moving to mac os.
----------------------------------------------------------------------
/CTRL → http://slashctrl.io
Music & mixes → http://soundcloud.com/kirkwoodwest

Post

Had a discussion quite some time ago:
viewtopic.php?t=547769
Don't whether this still works or not. Probably nothing new to what you already found out

Post

That is super helpful. thanks u-u-u. Searching through here tends to pull up many non-relevant results and will never let you search by a single function name so it makes it difficult.

For now I just hardcoded a path and save these details for later.
----------------------------------------------------------------------
/CTRL → http://slashctrl.io
Music & mixes → http://soundcloud.com/kirkwoodwest

Post Reply

Return to “Controller Scripting”