[REQ] Unified Parameters System
Moderators: white, Hacker, petermad, Stefan2
[REQ] Unified Parameters System
On the Russian forum a new global idea for TC was posted by the user Batya: an extended and unified system of the template parameters (like %P, %N and so on). I've translated the suggestion into English, added some new ideas and put in the Wiki:
http://www.ghisler.ch/wiki/index.php/Unified_Parameters_System
It would be very nice to have it implemented.
Waiting for your suggestions and comments.
http://www.ghisler.ch/wiki/index.php/Unified_Parameters_System
It would be very nice to have it implemented.
Waiting for your suggestions and comments.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 10.52 / Win10 x64
Using TC 10.52 / Win10 x64
- XPEHOPE3KA
- Power Member
- Posts: 854
- Joined: 2006-03-03, 18:23 UTC
- Location: Saint-Petersburg, Russia
- XPEHOPE3KA
- Power Member
- Posts: 854
- Joined: 2006-03-03, 18:23 UTC
- Location: Saint-Petersburg, Russia
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
Command parameters are much more important than this. Everything noted in this article is just a shortcut for something that can already be done.
Don't get me wrong, this is excelent idea, and I fully support it and I like precise thinking in the article. Command paramters are missing functionality which can not be workarounded....
2x 2ado
"The hell of a work" is preatty big exaggeration. This is simple thing to do (several hours +-)
Don't get me wrong, this is excelent idea, and I fully support it and I like precise thinking in the article. Command paramters are missing functionality which can not be workarounded....
2x 2ado
"The hell of a work" is preatty big exaggeration. This is simple thing to do (several hours +-)
Habemus majkam!
No need
2XPEHOPE3KA
Hi !
• Why do you say "I agree" ?
- I don't agree , I don't disagree, I don't need, no more, no less.
KR
Claude
Clo
Hi !
• Why do you say "I agree" ?
- I don't agree , I don't disagree, I don't need, no more, no less.
KR
Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
majkinetor !
Maybe I've misunderstood you, but how all this can be done? I know only one way - macroses, but even macroses can't make absolutely the same things. For example, to take the list of the selected files on the inactive panel, the macros should either use clipboard (with replacing its current content), or call cm_SaveSelection (that causes additional dialogs to appear and disappear)... Both ways are inconvenient.Everything noted in this article is just a shortcut for something that can already be done.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 10.52 / Win10 x64
Using TC 10.52 / Win10 x64
Lefteous
Of course, in principle it's possible that on some template (e.g. %#) TC will start several program instances with the parameters specified, but it looks too off the rails. Currently (and in suggested improvement) all the templates are designed so that TC start a program with the list of parameters specified, and some user may think this is always true; so starting several instances instead of one will be a great surprise too him (maybe, very unlike one).
This can be done: with %@ template.- start a program with a list of files as parameter
This can't.- multiple instances of a program with a single file.
Of course, in principle it's possible that on some template (e.g. %#) TC will start several program instances with the parameters specified, but it looks too off the rails. Currently (and in suggested improvement) all the templates are designed so that TC start a program with the list of parameters specified, and some user may think this is always true; so starting several instances instead of one will be a great surprise too him (maybe, very unlike one).
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 10.52 / Win10 x64
Using TC 10.52 / Win10 x64
- XPEHOPE3KA
- Power Member
- Posts: 854
- Joined: 2006-03-03, 18:23 UTC
- Location: Saint-Petersburg, Russia
2Flint
Some more detailed comments:
Thanks I must have missed that. Fine!This can be done: with %@ template.
Well when a user adds such a parameter he always has to know the meaning of such a parameter so I don't see the problem here.Of course, in principle it's possible that on some template (e.g. %#) TC will start several program instances with the parameters specified, but it looks too off the rails. Currently (and in suggested improvement) all the templates are designed so that TC start a program with the list of parameters specified, and some user may think this is always true; so starting several instances instead of one will be a great surprise too him (maybe, very unlike one).
Some more detailed comments:
It's not regular?However, the current system of these templates is far from perfect: it is not regular
Why do I need an extra parameters for this? A trailing backslash is just a static character.%S stands for the source path without the trailing backslash (\) (this is the difference with %P).
A bit complicated but okay.Extended template %L
I don't see the usefullness here.New template %C
Full support!New template %@
8.3 is not really an encoding. I guess something else is intended here.Group 2 (encoding)
I meant that when all the parameters cause TC to start a single program instance with a set of parameters, and only one single template that cause it to start several instances, it may be confusing. But this is only MHO.Lefteous wrote:Well when a user adds such a parameter he always has to know the meaning of such a parameter so I don't the problem here.
No, it is not. For example, how can one suggest that %P on the opposite panel is %T? that %N on the opposite panel is %M? What is the idea of these letters in particular? In the suggested system all this is more regular. You know, for example, that for any template you may add the "!" prefix and it will be the same template but for the opposite panel.Some more detailed comments:It's not regular?However, the current system of these templates is far from perfect: it is not regular
Yes, it's a static character. But how could you remove it if it is not needed? For example, suggest that some program needs the name of the folder without the trailing backslash (and does not work if the backslash is present). What is one supposed to do without the %S template?Why do I need an extra parameters for this? A trailing backslash is just a static character.%S stands for the source path without the trailing backslash (\) (this is the difference with %P).
I personally don't see it too, but this may be of use for some case. I don't think that I'm able to foresee all the possible situations at once.I don't see the usefullness here.New template %C
Yes, maybe not very good name for the group... I meant that the Group 2 controls the way the file names are written into the file: full names, or short names, or Unicode-formatted names.Group 2 (encoding)[(quote]
8.3 is not really an encoding. I guess something else is intended here.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 10.52 / Win10 x64
Using TC 10.52 / Win10 x64
- Vochomurka
- Power Member
- Posts: 814
- Joined: 2005-09-14, 22:19 UTC
- Location: Russia
- Contact:
Not necessarily. Third way you haven't mention - global variables in script. Most (perhaps everything) of your proposals can be implemented right now with PowerPro or some similar (or more powerful) scripting language.macros should either use clipboard (with replacing its current content), or call cm_SaveSelection
(BTW, about "replacing content", why not restore the clip after processing the parameters?)
Single user license #329241
PowerPro scripts for Total Commander
PowerPro scripts for Total Commander