function OnClick(clickData)
{
var cmd = clickData.func.command;
cmd.deselect = false;
var folderName = clickData.func.sourcetab.path.filepart;
var newName = folderName + ' [Video]';
cmd.RunCommand('Copy MOVE HERE CREATEFOLDER="' + newName + '"');
}
This code works fine, the only problem is it's create the folder in to the destination file display; but it should be create folder in the source file display
We've decided to roll back the change in the 12.25.1 beta for now, so this should work with "HERE" again from 12.25.2 beta and onwards.
(The thing the 12.25.1 change was fixing was not that important, and not worth causing changes like this. We've developed a larger change which so far works in all situations we've tested, but since it's a much larger change we are going to test it internally for a while before putting it into a public release.)