New modifier / formatting for file properties

Would you like Bulk Rename Utility to offer new functionality? Post your comments here!

New modifier / formatting for file properties

Postby TheGhost78 » Thu Apr 17, 2025 7:20 pm

Similar to the current # modifier that returns only numerals:

<(System.Audio.EncodingBitrate)> - returns 128 kbps
<(#System.Audio.EncodingBitrate)> - returns 128

Could we have a modifier that returns only the first letter? E.g.

<(System.ItemTypeText)> - returns MP4 (for example)
<(@System.ItemTypeText)> - would return M
TheGhost78
 
Posts: 212
Joined: Fri Jul 19, 2024 11:25 am

Re: New modifier for file properties

Postby Admin » Sat Apr 19, 2025 5:04 am

We were thinking that to provide full customization JavaScript functions should be supported e.g. <(js:func(System.ItemTypeText))> where func is a JavaScript function.
Admin
Site Admin
 
Posts: 3047
Joined: Tue Mar 08, 2005 8:39 pm

Re: New modifier for file properties

Postby TheGhost78 » Sat Apr 19, 2025 12:44 pm

Yes, that'd be great!
TheGhost78
 
Posts: 212
Joined: Fri Jul 19, 2024 11:25 am

Re: New modifier for file properties

Postby Admin » Tue Aug 12, 2025 10:23 am

We have actually implemented a formatting system for renaming using tags, so you would use:
<(System.ItemTypeText){substr:1:1}>
{substr:1:1} is the new formatter.
This one means use first character from 1 to 1 (substring).
There is going to be quite a lot of formatters, such as upper, lower, date formatting YYYY-MM-DD etc.
We think it's easier to use than Javascript for the renaming tags.
Admin
Site Admin
 
Posts: 3047
Joined: Tue Mar 08, 2005 8:39 pm

Re: New modifier / formatting for file properties

Postby Admin » Tue Aug 12, 2025 10:25 am

... plus new PDF and mediainfo tags
Admin
Site Admin
 
Posts: 3047
Joined: Tue Mar 08, 2005 8:39 pm

Re: New modifier / formatting for file properties

Postby TheGhost78 » Tue Aug 12, 2025 6:23 pm

Excellent news!
TheGhost78
 
Posts: 212
Joined: Fri Jul 19, 2024 11:25 am

Re: New modifier / formatting for file properties

Postby Admin » Wed Aug 20, 2025 4:15 am

Hi, 4.1.0.0 BETA has been released if you want to try it. cheers
Admin
Site Admin
 
Posts: 3047
Joined: Tue Mar 08, 2005 8:39 pm


Return to Suggestions