On the batch rename dialog, it would be nice to have some one-click quick insert buttons for various rename patterns.
So you type in some part of the rename pattern and then can quickly click on the 'increment' button and it inserts <#01>.
There could be a few other different variants of this increment and also buttons for dates etc...
It's just something that I use very often and it's slower having to type in the rename patterns each time.
Batch Rename - One Click Shortcuts
-
- Posts: 69
- Joined: 14 Feb 2013 09:29
Batch Rename - One Click Shortcuts
Thanks,
Sean Clarke
Sean Clarke
Re: Batch Rename - One Click Shortcuts
For what it is worth, most recently used rename patters do show in the drop-down menu for easy access. While it does mean that you will need to enter every unique pattern in the first place, you will have the most common -- and therefore relevant to you -- patters there.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
Re: Batch Rename - One Click Shortcuts
And you can make them sticky. This and more in this theadzer0 wrote:...most recently used rename patters do show in the drop-down menu for easy access....
http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=12695
Edit: Forgot the obvious
Make a Custom Toolbar Button. This one will add a two digit increment to the selected files, and you can define another pattern for the right click.
Code: Select all
rename b, '<#01>-*';
Go to menu Help > Help on Scripting Commands > Rename for the syntax
Kind regards
Regmos
Regmos
Re: Batch Rename - One Click Shortcuts
I'm presenting 3 more options:
1. Smart Dropdown Button is a custom toolbar button with a dropdown menu, ideal to have multiple rename patterns in it. http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=10472
2. Catalog Category with different rename patterns, more info in the manual.
3. Popup Menu, make it as a UDC and it pops up at the selection.
Here's my example with some rename patterns, the script is easy to read and you can define your own rename patterns.
1. Smart Dropdown Button is a custom toolbar button with a dropdown menu, ideal to have multiple rename patterns in it. http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=10472
2. Catalog Category with different rename patterns, more info in the manual.
3. Popup Menu, make it as a UDC and it pops up at the selection.
Here's my example with some rename patterns, the script is easy to read and you can define your own rename patterns.
Code: Select all
// Get list of selected items.
$items = Get('SelectedItemsPathNames');
// Default to the focused item if nothing is selected.
if ($items == '') {
$items = "<focitem>";
}
// Get first item from list.
// Replace 1 with -1 to use the last item from the list.
$item = GetToken($items, -1, "<crlf>");
$row = row($item);
$column = "name";
$x = cell($row, $column, "x", 1);
$y = cell($row, $column, "b", 1);
$choice = popupmenu(
"REEEEEENAMER;0|-|
Date + Signature;1|
After Current Folder;2|
Current Folder + Name;3|
Name + Current Folder;4|
Add Sequence 001...;5"
, $x, $y);
if ($choice==1){rename b, '<date yymm> * - PN';}
if ($choice==2){rename b, '<curfolder>';}
if ($choice==3){rename b, '<curfolder> *';}
if ($choice==4){rename b, '* <curfolder>';}
if ($choice==5){rename b, '* <#001>';}