TC not create Shortcut.lnk on drop in TC with pressed Alt

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
kuzduk
Junior Member
Junior Member
Posts: 8
Joined: 2021-02-01, 14:45 UTC

TC not create Shortcut.lnk on drop in TC with pressed Alt

Post by *kuzduk »

Hello all!

TC not create Shortcut.lnk on drop in TC with pressed Alt. Why?

this is the standard for drag and drop:

when Alt is pressed - shortcut (not working: tc cut dropped files? not create shortcut)
when pressed Shift - cut (working)
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7012
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TC not create Shortcut.lnk on drop in TC with pressed Alt

Post by *Horst.Epp »

Use the right mouse button and drag to the target.
Release after the symbol is shown.
Then you can select from Copy / Move / Create Shortcut
and some more options.
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
User avatar
petermad
Power Member
Power Member
Posts: 16115
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC not create Shortcut.lnk on drop in TC with pressed Alt

Post by *petermad »

Horst.Epp wrote: 2022-10-29, 12:45 UTC Use the right mouse button and drag to the target.
Release after the symbol is shown.
Then you can select from Copy / Move / Create Shortcut
and some more options.
Unfortunately that only works if "Configuration" -> "Options..." -> "Operation" -> "Mouse selection mode" is set to "Left Mouse Button (Windows standard)".

It could actually be nice if Alt+Drag&Drop worked for creating scortcuts also in TC with both Mouse selection modes.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
kuzduk
Junior Member
Junior Member
Posts: 8
Joined: 2021-02-01, 14:45 UTC

Re: TC not create Shortcut.lnk on drop in TC with pressed Alt

Post by *kuzduk »

shortcut is creating if pressed SHIFT+ALT.... Why so? Why not Alt only? Alt only - this is stаndart, but not working.


if drag from TC and drop to desctop with pressed Alt - shortcut creating good.

it will be realy nice if Alt+Drag&Drop worked.
User avatar
petermad
Power Member
Power Member
Posts: 16115
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC not create Shortcut.lnk on drop in TC with pressed Alt

Post by *petermad »

shortcut is creating if pressed SHIFT+ALT
Not here.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
HolgerK
Power Member
Power Member
Posts: 5411
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: TC not create Shortcut.lnk on drop in TC with pressed Alt

Post by *HolgerK »

There is no real standard which drop action is assigned to the modifier-keys.

TC implements this:
<Ctrl+Shift> -> Link
<Shift> -> Move
<Alt> -> Move
<none> -> Copy

Explorer:
<Alt> or <Ctrl+Shift> -> Link
<Shift> -> Move
<none> -> Move or Copy (depending on source and destination on same or different drives).

Some Code Samples for Windows.System.Form (https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.dragdropeffects?view=windowsdesktop-6.0) suggest also:
<Alt> or <Ctrl+Alt> -> Link

And IDropTarget (https://learn.microsoft.com/en-us/windows/win32/api/oleidl/nf-oleidl-idroptarget-dragover) suggest the following:
<Ctrl+Shift> -> Link
<Ctrl> -> Copy
<None> or <Shift> -> Move

Anyway, what always should be true is that the signaled drop effect should reflect the expected drop action.

Regards
Holger
Make our planet great again
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: TC not create Shortcut.lnk on drop in TC with pressed Alt

Post by *Hacker »

petermad,
Unfortunately that only works if "Configuration" -> "Options..." -> "Operation" -> "Mouse selection mode" is set to "Left Mouse Button (Windows standard)".
You can hold Shift while right-dragging if using the right mouse button selection mode.

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
petermad
Power Member
Power Member
Posts: 16115
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC not create Shortcut.lnk on drop in TC with pressed Alt

Post by *petermad »

2Hacker
You can hold Shift while right-dragging if using the right mouse button selection mode.
That will open a small menu where you can select to make a link (as explained by Horst.Epp) - it will not directly make a link to the file as kuzduk asked for.

But HolgerK pointed out that Ctrl+Shift while dragging will make a link to the file, also in right mouse button mode.

But I see no reason why TC could not also support Alt+drag for making links - to comply with Explorer.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: TC not create Shortcut.lnk on drop in TC with pressed Alt

Post by *Hacker »

petermad,
That will open a small menu where you can select to make a link (as explained by Horst.Epp) - it will not directly make a link to the file as kuzduk asked for.
Uhh, yes, Horst.Epp explained how to open that small menu and you said that was impossible in right-mouse selection mode.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
petermad
Power Member
Power Member
Posts: 16115
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC not create Shortcut.lnk on drop in TC with pressed Alt

Post by *petermad »

2Hacker
Well, I said that the recipe from Horst.Epp didn't work in RMB-mode wich is correct. I am now informed by you that it works with Shift+RightMouseDrag - thank you for that.

28 years with TC and I didn't know about neither Ctrl+Shift+LeftMouseDrag nor Shift+RightMouseDrag - always something new to learn :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply