To always drop files into the tab's folder path and not into any of its folders modify the event with a script command:
function OnDragAndDrop(scriptCmdData) {
var cmd = scriptCmdData.func.command;
cmd.deselect = false;
cmd.SetDest(scriptCmdData.func.desttab.path);
cmd.RunCommand('Copy MOVEWHENSAME');
}
Note that
- the info tip will not show the real destination and
- this only affects Drag-and-drop without a modifier and
- the files really always end up in the tab's folder path.
Save CommandDragAndDrop.js.txt to ↓
%appdata%\GPSoftware\Directory Opus\Script AddIns