Page 1 of 1

Sync dirs: Copy path of right/left to clipboard

Posted: 2023-11-18, 14:43 UTC
by oko
In local menu of item in syncdirs list please add commands to copy its path to clipboard:
"Copy left path to clipboard (F5)"
"Copy right path to clipboard (Shift+F5)"

Re: Sync dirs: Copy path of right/left to clipboard

Posted: 2023-11-18, 15:05 UTC
by Horst.Epp
There is the Left or Right Context menu entry (Alt Down and Alt Shift Down).
This gives you the full context menu entries which also contain "Copy as path" for me.

Re: Sync dirs: Copy path of right/left to clipboard

Posted: 2023-11-18, 15:20 UTC
by oko
2Horst.Epp
In the Context menu there are e.g. edit, print, rename, delete, copy, properties... but not "copy as path" command. Maybe you have installed something specific.

Re: Sync dirs: Copy path of right/left to clipboard

Posted: 2023-11-18, 15:41 UTC
by Horst.Epp
oko wrote: 2023-11-18, 15:20 UTC 2Horst.Epp
In the Context menu there are e.g. edit, print, rename, delete, copy, properties... but not "copy as path" command. Maybe you have installed something specific.
Yes, this simple reg file does it

Code: Select all

Windows Registry Editor Version 5.00

;Show Copy as Path always in the right-click menu, without pressing SHIFT
;Ramesh Srinivasan, Winhelponline.com

[HKEY_CLASSES_ROOT\Allfilesystemobjects\shell\windows.copyaspath]
@="Copy &as path"
"Icon"="imageres.dll,-5302"
"InvokeCommandOnSelection"=dword:00000001
"VerbHandler"="{f3d06e7c-1e45-4a26-847e-f9fcdee59be0}"
"VerbName"="copyaspath"


Re: Sync dirs: Copy path of right/left to clipboard

Posted: 2023-11-18, 16:18 UTC
by oko
2Horst.Epp
ok thanks, it is usefull meanwhile. But still the command in local tc menu would have advantages - one less click by mouse and option to use keyboard shortcut (e.g. F5) without local menu popup.

Re: Sync dirs: Copy path of right/left to clipboard

Posted: 2023-11-18, 16:21 UTC
by petermad
2oko
In the Context menu there are e.g. edit, print, rename, delete, copy, properties
"Copy" copies the filename including path - maybe you can use that and remove the filename manually.

Re: Sync dirs: Copy path of right/left to clipboard

Posted: 2023-11-18, 17:12 UTC
by Horst.Epp
2petermad
The request was exactly to copy the path.
Using the path without the file name doesn't make sense for using it outside of TC.
Also, the requestor said "it is useful meanwhile"

Re: Sync dirs: Copy path of right/left to clipboard

Posted: 2023-11-18, 17:58 UTC
by oko
2petermad
Not exactly. Copy copies "something" but not always pastes the path. No text pastes to notepad, but it pastes path to tc current directory header.
The command in local tc menu would have advantages - one less click by mouse and option to use keyboard shortcut (e.g. F5) without local menu popup, and would paste path to notepad.
Path may be including filename, maybe it is better.
Thanks.

Re: Sync dirs: Copy path of right/left to clipboard

Posted: 2023-11-18, 19:29 UTC
by Fla$her
I support copying full names by selection. Only I would prefer Alt/Shift+C.

Re: Sync dirs: Copy path of right/left to clipboard

Posted: 2023-11-18, 19:56 UTC
by petermad
2oko
No text pastes to notepad, but it pastes path to tc current directory header.
You are right - I only tested within TC (command line, Lister search dialog etc.) not to Notepad.