Page tree
Skip to end of metadata
Go to start of metadata

getUserPresetPath(product)

Description

Function to obtain the file path for the user VST presets of a product. If no product argument is set, the function returns the file path of the current plug-in.

Available in: Controller.

Arguments

productThe name of the product.string, optional

Return Values

Returns the file path for the user VST presets of the specified product.

Example

-- print the user VST preset path for the current plug-in and Halion Sonic

plugInPresetPath = getUserPresetPath()
halionSonicPresetPath = getUserPresetPath("HALion Sonic")

print(plugInPresetPath)
print(halionSonicPresetPath)

1 Comment