Skip to main content

Options

Constants

desktop_path

desktop_path: string

Returns the absolute path to operating system’s Desktop folder.

documents_path

documents_path: string

Returns the absolute path to operating system’s Documents folder.

factory_path

factory_path: string

Returns the Kontakt factory data path (contains wavetables, NKP presets, and so on).

macos

macos: bool

Returns true if the system running the Lua script is macOS.

ni_content_path

ni_content_path: string

Returns the absolute path to NI Content folder.

non_player_content_base_path

non_player_content_base_path: string

Returns the non-Player content base path (which is optionally set in Kontakt’s Options > Loading pane).

snapshot_path

snapshot_path: string

Returns the User Content data path, which contains snapshots saved by the user.

windows

windows: bool

Returns true if the system running the Lua script is Windows.