News:

Welcome to our NEW forum! We invite you to sign up today
so it can grow to be a valuable resource to all Toolbox users!

Main Menu

File renaming

Started by oblivion, December 07, 2025, 03:25:28 AM

Previous topic - Next topic

oblivion

I download a lot of podcasts. I'm slightly ashamed to admit that I download more than I can listen to in a timely way, but I'm so paranoid about missing anything, I have a whole morning routine dedicated to downloading them and ensuring I know what they are, after the event.

So some podcasts -- particularly those I have paid subscriptions to -- come with "difficult" filenames.

eyJ0IjoicyIsImMiOiIxODA4OTEyOCIsInUiOiIxMjMxNjMwIiwiZCG9IjE3NjQ5MTMyMjciLCJrIjo0OTV9fDAxZTYzNDk3N2U5NzVlMzg5ZWUyNzlhNjgyZTVkOWJhYWZiMmMzNjFkMGVlNmIzYWQyNjFiNjkzMDYyODc5ZWI.mp3

is not a file that tells me anything about what it is, unless I save it and look at the properties of the MP3 itself, and that's assuming said properties have even been set.

So I have a script, set up for the various podcasts. They all get saved in the same folder, although this would cope if they didn't.

And it's set to a typed acronym: "pdr" for "podcast renamer."

I should probably also say that this is geared to work with Internet Download Manager's "save as" prompt; you might need to modify it to cope with whatever your browser or download manager expects.

I've edited the filename list down from the 20 I have, but adding more is a matter of adding new patterns to step 3. My own preferences to use date$  are also geared to having ensured (through Toolbox's config) to a date format that helps with sorting into date order, but building different styles (as I do with some that are only monthly) is also straightforward.

A bit niche? Probably. And there's some help from Paul baked into this too, as my initial attempts at this were based on "Keyboard: Show auto-complete list" which also works well but doesn't present prompts in the same way. Thanks, Paul!

(Start)
TIP: Copy from Start to End to paste into an action.
0001 Keyboard: Clear trigger typing ""
0002 Action: Allow failure messages "0"
0003 Alert: Ask for a choice "Select a podcast:~The Bugle=c:\podcasts\bugle_yy$_mm$_dd$.mp3~The Gargle=c:\podcasts\Gargle_yy$_wn$.mp3~The Retrospectors=c:\podcasts\retro_date$.mp3~Ask Andy=c:\podcasts\AskAndy_yy$_wn$.mp3"
0004 Clipboard: Assign text "alert$"
0005 Keyboard: Paste ""
(End)

Paul (Lead Developer)

Quote from: oblivion on December 07, 2025, 03:25:28 AMSo some podcasts -- particularly those I have paid subscriptions to -- come with "difficult" filenames.

eyJ0IjoicyIsImMiOiIxODA4OTEyOCIsInUiOiIxMjMxNjMwIiwiZCG9IjE3NjQ5MTMyMjciLCJrIjo0OTV9fDAxZTYzNDk3N2U5NzVlMzg5ZWUyNzlhNjgyZTVkOWJhYWZiMmMzNjFkMGVlNmIzYWQyNjFiNjkzMDYyODc5ZWI.mp3

Wow, you weren't kidding! :o