Sometimes when I download files from the web such as PDFs the file names may be in a form like:
xxxx_xxxx_xxx.pdf
Would it be possible to have a script that renames files to something like:
Xxxxx Xxxx Xxxx.pdf
Best Regards
-Tim C.
Renaming Files - Is this Possible
-
- Site Admin
- Posts: 62698
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Renaming Files - Is this Possible
This will do it for all selected files:
Code: Select all
#130; #138;
FAQ | XY News RSS | XY Twitter
-
- Posts: 26
- Joined: 05 Oct 2015 23:25
Re: Renaming Files - Is this Possible
I apologize for my ignorance but I have no idea how the response provided would rename files as title case and replace underscores with spaces.
Code: Select all
#130; #138;
I tried the attachment code pasted into the run script dialog on a couple of selected files but it had no effect.
Also is there a way to assign a short cut to a script or select load a script then right click a file or selection and thru a short cut menu apply script?
I must be missing something because with all the attention you have given this app I cannot believe code has to be dropped into a dialog to run it.
Thanks in Advance
-Tim C.
Code: Select all
#130; #138;
I tried the attachment code pasted into the run script dialog on a couple of selected files but it had no effect.
Also is there a way to assign a short cut to a script or select load a script then right click a file or selection and thru a short cut menu apply script?
I must be missing something because with all the attention you have given this app I cannot believe code has to be dropped into a dialog to run it.
Thanks in Advance
-Tim C.
- Attachments
-
TitleCasee FileName.xys
- Attempt at renaming files as titlecase
- (932 Bytes) Downloaded 13 times
-
- Site Admin
- Posts: 62698
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Renaming Files - Is this Possible
#130 = File | Rename Special | _ to Spaces
#138 = File | Rename Special | A* A*.aaa
Works fine here.
#138 = File | Rename Special | A* A*.aaa
Works fine here.
FAQ | XY News RSS | XY Twitter
Re: Renaming Files - Is this Possible
All menu commands have an ID. To display them:
Help > Command IDs on menu
Don't forget the :: on the command line (addess bar) to tell the system that this is a script.
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Help > Command IDs on menu
Don't forget the :: on the command line (addess bar) to tell the system that this is a script.
- Select your files
- In address bar (Ctrl+Shift+F12 if not showed), type:
Code: Select all
::#130; #138
- Make it an icon in the button bar if you want to use it again
![Very Happy :D](./images/smilies/icon_biggrin.gif)
(English in not my native language (french), I use an online translator)