Hi
I have a JavaScript Button
function OnClick(clickData){
var cmd = clickData.func.command;
cmd.deselect = false;
var folderName = clickData.func.sourcetab.path.filepart;
DOpus.Output(folderName);
var matches = folderName.match(/^[^.]+/);
DOpus.Output(matches);
DOpus.Output(matches.length);
if (matches.length != 1) { return; }
var newName = matches[0] + ' Covers';
DOpus.Output(matches[0]);
cmd.RunCommand('Copy MOVE HERE CREATEFOLDER="' + newName + '"');
}
This Button Move Selected Files in to a newly Created folder Names from parent folder names part. I want to add some command which will Open that newly created folder in other display.