Page 1 of 1
Renaming Files - Is this Possible
Posted: 05 Jan 2025 17:01
by tim_crouse
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.
Re: Renaming Files - Is this Possible
Posted: 05 Jan 2025 17:54
by admin
This will do it for all selected files:
Re: Renaming Files - Is this Possible
Posted: 05 Jan 2025 18:28
by tim_crouse
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.
Re: Renaming Files - Is this Possible
Posted: 05 Jan 2025 18:45
by admin
#130 = File | Rename Special | _ to Spaces
#138 = File | Rename Special | A* A*.aaa
Works fine here.
Re: Renaming Files - Is this Possible
Posted: 05 Jan 2025 19:01
by Marc
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.
- Select your files
- In address bar (Ctrl+Shift+F12 if not showed), type:
- Make it an icon in the button bar if you want to use it again
Tested: works fine
