by Admin » Tue Mar 04, 2025 12:15 am
This is possible now with JavaScript renaming and new function:
listFilesInFolder("pattern", includeHidden,includeSystem)
newName = removeExt(listFilesInFolder()); // the new name is set to the first file name in a folder, without its extension
newName = removeExt(listFilesInFolder("*.pdf")); // the new name is set to the first PDF file name in a folder, without its extension
newName = removeExt(listFilesInFolder()[0]); // the new name is set to the first file name in a folder, without its extension
newName = removeExt(listFilesInFolder("*.*", true, true)[9]); // the new name is set to the 10th file name in a folder, without its extension. The file list includes system and hidden files.