Support Portal

for ProcessRobot and WinAutomation

Start a new topic

Format numeric variable?

Hello,
what I want to do is to generate a script where I can rename files based on the name of the folder where they're stored in.

For example:

Folder: 20181026_test_for_rename
Original Files: DSC45689.jpg
                     DSC36891.jpg
should be renamed to

test_for_rename_001.jpg
test_for_rename_002.jpg

and so on.

I've alreasy realized the mainstructure and it works well, but how can I format the increasing numeric variable? For now I only get
test_for_rename_1.jpg
test_for_rename_2.jpg....

Anyone out there who can give me a hint about that?

Kind Regards
Franz-Georg

 

1 Comment

1. Convert Number (increasing number variable) to Text (variable) Action.
2. Use the Text variable as input variable to Pad Text - action.

Login or Signup to post a comment