This information is not published or supported so don't ask too many questions :)
External tool configuration info is stored under HKEY_LOCAL_MACHINE here:
HKEY_LOCAL_MACHINE\SOFTWARE\Cakewalk Music Software\Tools Menu.
There are three categories of tool types which are supported:
Generic - these are normal tools that are not project data context sensitive
WaveEditor - tools that operate on project data such as wave files
SysxEditor - Tools that edit sysex
Common tool arguments: ExePath - This is the fully qualified path to the tool executable.
Type=String
MenuText - name of the tool as appears in menu
Type=String Type - Tool type <Generic, WaveEditor, SysxEditor>
Type=String StatusBarText - [Optional] expanded text that appears on status bar when the tool is selected in menu
Type=String Modal - [Optional] If the tool should open its window modally blocking access to SONAR while running <0/1>
Type=DWORD CmdArgs - [Optional] command line arguments such as switches passed to the tool if any.
Type=String The following special arguments are expanded:
- /ParentWnd$ this is the window handle of the application frame
- /VSTInventoryRegKey$ this is the key to the VST inventory
CurrentDirectory- [Optional] The current directory in which the tool should execute
Type=String HelpFilePath - [Optional] Path to the help file for the tool if any
Type=String HelpFileTopic - [Optional] help file topic ID. Topic ID to be loaded from help file
Type=DWORD Generic tool specific arguments: Args - [Optional] specific expanded line arguments when the generic tool
Type=String works on the SONAR selection and takes a file name such as a wave file
The following special arguments are expanded:
$(FILE) - the fully qualified file name of the wave from the selection
$(FILEBASE) - the base file name of the wave from the selection
Generic tool example: [HKEY_LOCAL_MACHINE\SOFTWARE\Cakewalk Music Software\Tools Menu\Plugin Manager]
"ExePath"="C:\\Program Files\\Cakewalk\\Shared Utilities\\PluginManager.exe"
"MenuText"="Cakewalk Plug-in &Manager"
"StatusBarText"="Run Cakewalk Plug-in Manager"
"Type"="Generic"
"Modal"=dword:00000000
"CmdArgs"="/ParentWnd$ /VSTInventoryRegKey$"
WaveEditor tool specific arguments: ShortFileName - <0/1> [Optional] Instructs tool to use short (8.3) file names for wave file argument.
if the tool requires short file names on the command-line
Type=DWORD RegionFlag - <0/1> [Optional] Expands to pass "/REGION:<start>,<duration>" to the tool on the command-line.
Some wave editors like SoundForge used to use this format where the region specifies the
start and end of the selection to be edited in samples
Type=DWORD