Multi Commander > Support and Feedback

Pasting clipboard data into Multi Commander

(1/1)

matm:
Hello Mathias

I have some deep subtrees with many different roots.

So if I had a subpath that begins with a backslash, e.g. \Prod\Batchs\Logs, and I paste it, I would like it to be appended to current path and go.
So if current path is M:\Accounting\, result path will be M:\Accounting\Prod\Batchs\Logs, and content will be displayed

Does it sound feasible?
Best,

Mathias (Author):
You can do that with Multi-Script


--- Code: ---@var $path = GetSourcePath();
$path = $path ^ GetClipboardText();

// Just to make sure we get a \ at the end
$path = $path ^ "";

MC.Explorer.Goto PATH="{$path}";

--- End code ---

matm:
Thanks.

It works great.

Navigation

[0] Message Index

Go to full version