How to open the Script folder on macOS Windows Linux?

what’s the method for opening an Explorer or Finder (or Linux equivalent) within the Script Folder?

To open a folder:

renoise.app():open_path(file_path)

To get the tool’s folder:

renoise.tool().bundle_path

to get the script folder from the bundle path you need to strip the last path segment, then add the scripts path (I don’t remember the exact directory structure off hand). You may be able to do a string.sub for that.