GP SoftwareTwitter
Opus FAQsManualCommandsObjects

How to rename files from parent 1 folder name with Sequential number

#1

I Want to create a button for rename some files.
I have a folder in drive D:\parent 0\parent 1
in the "parent 1" Folder, I have Some files like
file 1.mp3
file 2. mp4
file 3.pdf
I want to rename all the files in a single click with this button like
parent 1 (1).mp3
parent 1 (2).mp4
parent 1 (3).pdf
How to do so?

#2

Rename FROM * TO "{parent} ([#])" IGNOREEXT NUMBER

#3

brilliant job dear Jon. you code is done 100% as I want. Thank you so much

#4

hi dear Jon, This code fill my want 100%. But the button I created with this code is always show active. I want the button only show active when I select any file or folder, otherwise the button will show not active or Hide. Is there any way to do so?

#5

Add @disablenosel or @hidenosel before the code.
Look at Modifier help page.

#6

Thank you so much AlbatorV