Can't Get FlattenJS to work?
Posted: Fri May 27, 2011 7:57 pm
I have a script that makes about 15 calls to another included script:
After running FlattenJS as specified, I'm left with a copy of the original file with no changes. The includes scripts are not written to it?
Code: Select all // Scripts
function step26(enabled, withDialog) {
if (enabled != undefined && !enabled)
return;
var dialogMode = (withDialog ? DialogModes.ALL : DialogModes.NO);
var estr = '//@include "/c/Program%20Files/PSScripts1/Run1.jsx";\r\n';
eval(estr);
};
After running FlattenJS as specified, I'm left with a copy of the original file with no changes. The includes scripts are not written to it?
Code: Select all // Scripts
function step26(enabled, withDialog) {
if (enabled != undefined && !enabled)
return;
var dialogMode = (withDialog ? DialogModes.ALL : DialogModes.NO);
var estr = '//@include "/c/Program%20Files/PSScripts1/Run1.jsx";\r\n';
eval(estr);
};