Page 1 of 1
Substring picker also for other placeholders in MRT
Posted: 2015-12-21, 11:03 UTC
by Lefteous
Being able to insert a part of a string visually in MRT is really handy. However it's currently limited to the N placeholder. There are alos many other placeholder (mentioned in the help file) and of course all the fields from plugins.
Instead of the current [N#-# Part] picker I would suggest a 'Part picker' button which doesn't insert a new string. The user would point the cursor in the file name field and then press the button. The dialog would now display the placeholder under the cursor. The default selection would be based on the current (sub-)string. The placeholder would then be altered based on the user choice.
What do you think?
Posted: 2015-12-21, 11:16 UTC
by ghisler(Author)
Hmm, maybe better use another button as you suggest in thread "Add all available placeholders to MRT dialog".
Posted: 2015-12-21, 12:15 UTC
by Lefteous
2
ghisler(Author)
Hmm, maybe better use another button as you suggest in thread "Add all available placeholders to MRT dialog".
Yes that would also work well. There need to be another solution plugins though. Editing a placeholder's substring would work universally.
Posted: 2015-12-21, 17:14 UTC
by ghisler(Author)
I just fear that people wouldn't understand it.
Posted: 2016-06-09, 15:19 UTC
by Lefteous
Thank you for adding also other placeholders to the substring picker and for improving the dialog
I have just one request. Just add one more menu item to the # menu: [?#-#]. This would bring up the plugin field selection dialog (BTW: very nicely done with all the icons and the previewed value) first and then the substring picker dialog containing the value returned by the plugin.
Posted: 2016-06-10, 08:31 UTC
by solid
Thanks for implementing feature asked for
almost 10 years ago.
Better late than never.
Posted: 2016-06-10, 19:43 UTC
by ghisler(Author)
Just add one more menu item to the # menu: [?#-#]
Hmm, not enough space. But I could name the button just ?#
Posted: 2016-06-10, 20:45 UTC
by Lefteous
2
ghisler(Author)
Hmm, not enough space. But I could name the button just ?#
No not a new button, just a menu item. Here is a mockup.
http://lefteous.totalcmd.net/tc/ideas/plugin_field_range.png
Posted: 2016-06-10, 20:51 UTC
by ghisler(Author)
Ah, that's what you mean! Yes, I can add that.
Posted: 2016-06-15, 22:55 UTC
by Lefteous
This has been added to beta 2 and it works really good. Thanks a lot. It's already one of my favorite features of TC 9.
As always there one more wish

As I use mainly the same fields it would be great to have a list of recently used fields. So below the 'content plugin' menu item there could be a separator (if any fields have been used before) and below it a list of up to five recently used content fields.