Rename script button operating on all files and folders

I wrote a very basic rename script button as a template for more complex scripting later.


As shown below, it operates on all files and folders rather than selected files and/or folders, including the hidden file TestThumbs.db. What am I doing wrong?


Regards, AB

The FROM argument overrides file selection.

As the Meerkat ad says..... "simples!". Thanks Jon. :smiley:

Regards, AB