Page 1 of 1

How to rename default 'New Folder' to something else.

Posted: 22 May 2023 16:07
by Shutey
I spend a lot of time sorting photos and frequently use the "New Folder" function which I then commonly have to rename to "photos".

I have set up a folder in "New Items" called "photos" and given "New Items" a keyboard short-cut but it feels like a clunky workround requiring both keyboard then mouse actions everytime.

Is there a way to either...
Create a keyboard short-cut to an individual item within the "New Items" list
OR
A way to customise the default "New Folder" function so that the default new folder is called whatever I want it to be e.g., "photos."

Thanks

Re: How to rename default 'New Folder' to something else.

Posted: 22 May 2023 16:13
by highend
Both would be possible.

For the second one, edit the XYplorer.ini file (while XY isn't running):

Code: Select all

[NewTemplates]
Version=1
; Tweak: 5 templates for New Folder default names
Folder0=\P\h\o\t\o\s
Folder1=yyyymmdd
Folder2=yyyy-mm-dd
Folder3=
Folder4=
In other words, replace Folder0=... with my example...

Re: How to rename default 'New Folder' to something else.

Posted: 22 May 2023 18:08
by Shutey
Thanks @highend that worked perfectly.
Both would be possible.
Are you able to shed some light on how to set up a keyboard short-cut to an individual "New Item" as well as I suspect that could be useful.

Thanks

Re: How to rename default 'New Folder' to something else.

Posted: 22 May 2023 18:59
by highend
User - Manage Commands...
Run Script
Button "New..."
Caption field: New photo folder or ... whatever you like
Script field:

Code: Select all

new("Photos", "dir");
And then the "Assign Keyboard Shortcut..." button...

Re: How to rename default 'New Folder' to something else.

Posted: 23 May 2023 09:27
by Shutey
Thank you @highend that worked beautifully - you're a star.