Button Trigger code / Cross platform issues
1. \ Escape characters on lines 802-830 cause it to be impossible to source
(Don't know how these got added, they aren't escaping anything...)
2. Button code crammed into the command argument should be optimized into procs
(Lines 895 / 898 )
3. fileBrowserDialog is not cross platform, use fileDialog instead
Use something like:
string $file = `fileDialog -mode 1`;
dwSCExportClusters_ExportSelected($file, "dummyArg");
4. dwSCGetWeightsFolderPath is not cross platform:
Use fromNativePath / toNativePath&sysFile to make this proc platform independent
As an alternative, use about -li or about -win to test which platform the script is running on
Other than the platform issues, thanks for a very useful script!
-n
(Don't know how these got added, they aren't escaping anything...)
2. Button code crammed into the command argument should be optimized into procs
(Lines 895 / 898 )
3. fileBrowserDialog is not cross platform, use fileDialog instead
Use something like:
string $file = `fileDialog -mode 1`;
dwSCExportClusters_ExportSelected($file, "dummyArg");
4. dwSCGetWeightsFolderPath is not cross platform:
Use fromNativePath / toNativePath&sysFile to make this proc platform independent
As an alternative, use about -li or about -win to test which platform the script is running on
Other than the platform issues, thanks for a very useful script!
-n