News:

MultiCommander v16.6 is released!

Main Menu

Is Right drag supported?

Started by Geobomatic, March 14, 2018, 15:51:45

Previous topic - Next topic

Geobomatic

With TortoiseSVN, we can right drag files and folders in order to pop a menu on release in order to SVN move files around a repository. It seems that we can't right drag with MC or am I missing something?

Thanks!

Geobomatic

I've worked around this limitation with a multiscript as user command:
@var $selection = GetSelectedPaths();
@var $len = arrayCount($selection);
@var $target = GetTargetPath();
@var $cmd = "svn.exe move ";
@var $params = "";
@var $n;
for ($n = 0; $n < $len; $n++)
{
  $params = $params + " " + $selection[$n];
}

MC.Run CMD={$cmd + $params + " " + $target}