Changing/Appending filenames in a Selectable folder

Changing/Appending filenames in a Selectable folder

I'd like to Change and Append the filenames in a Selectable folder.

I have the prompts to set the Folder as a variable
And the prompt to set the 'core' filename as a variable and the suffix as a variable.

I'm not clear on the 'for each' in a collection - it that's what I need here or not.
Don't know how to increase the suffix variable within that action - or if I'm over thinking it.

Appreciate any help.

z change - append filenames in a folder.kmmacros (2.7 KB)

@troy, if you really want us to, we can delete it for you.

But I'd encourage you to leave it, and just post your own solution below, and check the "Solved" checkbox.

If you have a question, most likely many others will also.
So they can benefit from your own solution.

After looking at and "borrowing" from the following:

I came up with this:

Change / Append Filenames in a Selectable Folder
I put the first action in there to enable 'continuing' counting files in other folders if desired. It keeps the last suffix used. You can overwrite that in the following actions if needed.

Change - Append Filenames in a Selectable Folder.kmmacros (6.1 KB)

newImage

Thank you @JMichaelTX for all of your help and input. Very appreciated!

1 Like

Excellent! I'm glad you posted your solution. Many will benefit.

FWIW, we all stand on the shoulders of others who have posted similar solutions. In fact, I'd say it is the number one method of learning for me these days. I still do a lot of research, but often the examples/solutions of others serve to point me in the right direction.

1 Like