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:

To get the tool’s folder:


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.