Hi everyone!
Is it possible to pass long filenames when dragging and dropping files to the icons in the toolbar? As far as I can see, TC passes the short 8.3 filename as the parameter.
Thanks in advance.
Long filenames when dragging and dropping to the toolbar
Moderators: Hacker, petermad, Stefan2, white
Long filenames when dragging and dropping to the toolbar
Salute!
Mikele.
Mikele.
Try putting %N into the Parameters line of the Button Bar entry. If this works, then it has the disadvantage of always passing the filename under cursor when just clicking the button to start the program (and not dragging any files on its button).
HTH
Roman
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.
Bof---
2Hacker
Hi Roman !
- I can Drag & Drop files having long names, i.e.15 characters+ext on an icon of the bar, without any parameter in the Parameters field of the button-dialog.
- I just tested with XnView and a GIF file like above, that works. What am I missing ? The Dos-name in the title-bar of XnView ? Not a big problem …
KR
Claude
Clo

- I can Drag & Drop files having long names, i.e.15 characters+ext on an icon of the bar, without any parameter in the Parameters field of the button-dialog.
- I just tested with XnView and a GIF file like above, that works. What am I missing ? The Dos-name in the title-bar of XnView ? Not a big problem …

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Thanks Roman, I've put %P%N and it works nice.
Most of the times it's ok to use the short filename, but sometimes it's not, for example when you need to pass it to some app that does some processing with it like moving it to another place. In that case, the destination file will have a different name than the original.
Most of the times it's ok to use the short filename, but sometimes it's not, for example when you need to pass it to some app that does some processing with it like moving it to another place. In that case, the destination file will have a different name than the original.
Salute!
Mikele.
Mikele.
There's no need to put the %P into Parameters if you only want to get the long filename while drop a file. The %N fits ( and you get the long path name, too).mikele wrote:Thanks Roman, I've put %P%N and it works nice.
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams