Author Topic: Is Right drag supported?  (Read 5167 times)

Geobomatic

  • Newbie
  • *
  • Posts: 12
    • View Profile
Is Right drag supported?
« on: March 14, 2018, 15:51:45 »
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

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Is Right drag supported?
« Reply #1 on: March 22, 2018, 11:52:22 »
I've worked around this limitation with a multiscript as user command:
Code: [Select]
@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}