Substring picker also for other placeholders in MRT

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Substring picker also for other placeholders in MRT

Post 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?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50865
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hmm, maybe better use another button as you suggest in thread "Add all available placeholders to MRT dialog".
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2ghisler(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.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50865
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I just fear that people wouldn't understand it.
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post 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.
User avatar
solid
Power Member
Power Member
Posts: 755
Joined: 2004-08-09, 11:20 UTC

Post by *solid »

Thanks for implementing feature asked for almost 10 years ago.
Better late than never.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50865
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Just add one more menu item to the # menu: [?#-#]
Hmm, not enough space. But I could name the button just ?#
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2ghisler(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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50865
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Ah, that's what you mean! Yes, I can add that.
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post 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 :-D
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.
Post Reply