Plugins (User Defined Commands)

Some people have very specific needs when it comes to file renaming. Most of these needs can be accommodated with the power of PFrank pre-defined commands, regular expressions, and specialized commands. However, every once in awhile some one-of-a-kind, unique, or even insane request will come along that cannot be solved with the current version of PFrank and unfortunately is sometimes not general enough to be included as a standard feature.
These types of requests are no longer a problem!

The 'Plugins (or User Defined Commands)' feature allows anyone to develop their own renaming commands. The commands are written with the easy-to-use Python programming language and can be plugged in to PFrank enabling them to be used like any of the other pre-defined commands!

With plugins, you can now do any kind of renaming: How about rearranging the order of words in a filename alphabetically? applying mathematical expressions to numbers in a filename? changing the letter case of any part of the filename according to your criteria? importing metadata from obscure files? This is all possible! It doesn't matter if you are the only person on the planet who wants the feature; it can now be yours. This has to be the ultimate Power User renaming feature!

There is a simple and clearly defined application user interface that can be used to produce as many user defined commands as you like. A template file with sample commands are provided which you can use as a model. When the file is loaded into PFrank, each command will appear at the top of the pre-defined command list. Once in the list they can be inserted into the custom list like any other pre-defined command. If a standard Python modules need to be imported for your renaming and they are not already imported into PFrank it doesn't matter, you can import them yourself. With functionality like this the sky is the limit!

Some sample plugin files are below:

Users have also requested the following unusual plugins: This plugin was created just as a fun example: This plugin was contributed by a user:

If you have any trouble with using this feature, then check out the Forums or contact me.

The screenshot below highlights the menu used for enabling user commands and shows how loaded user commands show up at the start of the pre-defined command list.