List To Clipboard questions

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Valik
Junior Member
Junior Member
Posts: 3
Joined: 2005-09-02, 11:02 UTC

Post by *Valik »

    danke shoen fuer das Plugin, it proved very useful to me. :-) however, I got a few questions concerning its work, could the author/someone take the pain to answer them? ;-)

    troubles (?):

    1. the plugin seems to fail to support the promised ability to insert %20 instead of spaces into paths. :-( if I try doing this and specify R:" "="%20%" , I get just 0 (zeros) instead of spaces in paths. if i try using %20% instead of %20 like in an example in the documentation, I get an error message that the command line parametres are incorrect. :-|

    2. when I wanted to remove the disk paths from the Java-like paths (like /C:/, for instance: R:"/C:/"=""), just nothing changed, ie the paths stayed the same.

    maybe I get something wrong, can anyone tell me? :-)

    and besides, a couple more questions:

    1. could it be possible to copy the full network path of files on a local share? so that if the full local path of a file is, say, d:\multimedia\music\sharename\myfile.mp3, I could get //mymachine/sharename/filename.mp3 instead — thus skipping the folder names up to the shared folder name?

    2. is it possible to skip a certain number of folder names in a path from the very start of it? so that to get d:\...\shared\myfile.mp3 instead of d:\mutimedia\music\shared\myfile.mp3?

    will appreciate any answers!
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Valik
danke shoen fuer das Plugin
hi,

thanks for using my addon. :-)
the plugin seems to fail to support the promised ability to insert %20 instead of spaces into paths. Sad if I try doing this and specify R:" "="%20%" , I get just 0 (zeros) instead of spaces in paths. if i try using %20% instead of %20 like in an example in the documentation, I get an error message that the command line parametres are incorrect. Neutral
Could you please check if you have entered the parameters in the command field instead of the parameters field? It's recommended to put them into the commands field.
when I wanted to remove the disk paths from the Java-like paths (like /C:/, for instance: R:"/C:/"=""), just nothing changed, ie the paths stayed the same.
I wonder where such paths exist. Any idea how I could test this?
could it be possible to copy the full network path of files on a local share? so that if the full local path of a file is, say, d:\multimedia\music\sharename\myfile.mp3, I could get //mymachine/sharename/filename.mp3 instead — thus skipping the folder names up to the shared folder name?
I'm not sure if I understood this. Do you want the the unc name or vica versa?
is it possible to skip a certain number of folder names in a path from the very start of it? so that to get d:\...\shared\myfile.mp3 instead of d:\mutimedia\music\shared\myfile.mp3?
Not really but it sounds interesting. All you can do is using something like:

Code: Select all

/PD:"1"="3"
Valik
Junior Member
Junior Member
Posts: 3
Joined: 2005-09-02, 11:02 UTC

Post by *Valik »

[face=tahoma]Lefteous
Could you please check if you have entered the parameters in the command field instead of the parameters field? It's recommended to put them into the commands field.

yeap, all worked alright this way. it's strange, however, why the parametres should partly go into the command field. I had not a least doubt that all parametres should go to the parametres field -- as it is commonly done. it's alright as it is, but isn't it hard to remember what should go where? ;-)

when I wanted to remove the disk paths from the Java-like paths (like /C:/, for instance: R:"/C:/"=""), just nothing changed, ie the paths stayed the same.
I wonder where such paths exist. Any idea how I could test this?

okay, say, here is your example: file:/C:/My%20%Projects/3D_App/src/gui/MainFrame.java, and I would like the disk name (C:) removed from this kind of paths, so I put: /R:"/C:/"="/". wherever I put this parametre, nothing changes. strange, isn't it? :-| actually, I've resolved this by putting finally /R:"C:/"="" -- this worked. :-)

could it be possible to copy the full network path of files on a local share? so that if the full local path of a file is, say, d:\multimedia\music\sharename\myfile.mp3, I could get //mymachine/sharename/filename.mp3 instead — thus skipping the folder names up to the shared folder name?
I'm not sure if I understood this. Do you want the the unc name or vica versa?

I meant that I'd like to be able to copy the UNC path of a file in a local folder -- i.e. together with the network computer name & the local share name. in my example this would lead to skipping the folder structure up to the shared folder name, that is /music would be omitted. and more to it, if a folder is shared with a name differerent than its name, could it be possible to get the share name -- not the local folder name -- in the UNC path?
is it possible to skip a certain number of folder names in a path from the very start of it? so that to get d:\...\shared\myfile.mp3 instead of d:\mutimedia\music\shared\myfile.mp3?
Not really but it sounds interesting. All you can do is using something like:

Code: Select all

/PD:"1"="3"

thank you very much, it is /PD:"1"="2" that does exactly what I wanted[/size][/face]
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Valik
yeap, all worked alright this way. it's strange, however, why the parametres should partly go into the command field. I had not a least doubt that all parametres should go to the parametres field -- as it is commonly done. it's alright as it is, but isn't it hard to remember what should go where? Wink
Total Commander has built-in parameters made for use with addons. If you intend to use such characters in the parameters for other cases you have to write them down twice otherwise TC thinks it's an internal parameter. A save way around this is to write everything what is not a special Total Commander to the Command field.
okay, say, here is your example: file:/C:/My%20%Projects/3D_App/src/gui/MainFrame.java, and I would like the disk name (CSmile removed from this kind of paths, so I put: /R:"/C:/"="/". wherever I put this parametre, nothing changes. strange, isn't it? Neutral actually, I've resolved this by putting finally /R:"C:/"="" -- this worked. Smile
Well you didn't answer my question. I don't understand where such paths could occure. :roll:
I meant that I'd like to be able to copy the UNC path of a file in a local folder -- i.e. together with the network computer name & the local share name. in my example this would lead to skipping the folder structure up to the shared folder name, that is /music would be omitted. and more to it, if a folder is shared with a name differerent than its name, could it be possible to get the share name -- not the local folder name -- in the UNC path?
I remember that I introduced UNC in List To Clipboard 1.03 which hasn't been released yet.
thank you very much, it is /PD:"1"="2" that does exactly what I wanted
Good to hear it works acceptable. :D
Valik
Junior Member
Junior Member
Posts: 3
Joined: 2005-09-02, 11:02 UTC

Post by *Valik »

Well you didn't answer my question. I don't understand where such paths could occure.
It was intended to be just a part of the same workaround to get the UNC path. ;-)
Danke shoen, Lefteous, fuer dem Antwort und die Geduld! Ich warte jetzt nach den Version 1.03 :-)
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Valik
It was intended to be just a part of the same workaround to get the UNC path. Wink
Danke shoen, Lefteous, fuer dem Antwort und die Geduld! Ich warte jetzt nach den Version 1.03
Ich helfe doch gerne! :-)

I will never release List To Clipboard 1.03. I started to add more and more possibilites to copy file properties. Then the content plugin system was introduced...

Instead I want to point you to a packer plugin called WdxInfoPacker:
http://www.totalcmd.net/plugring/WdxInfopacker.html
The plugin is able to write filenames, user-defined strings and data provided by content plugins to a file. It contains a tool which is able to copy this data to the clipboard.
I will release a content plugin soon which provides the special formatting possibilties of List To Clipboard like limiting directory depth (/PD) or replacing (/R).
Post Reply