Guys... I have this code, it works on Windowsperfectly renaming the files.
I have tried to make it work on Mac but I couldn't.
Is doesn't display any error / alert.
What am I doing wrong, why doesn't it work on Mac? :/
Many thanks in advanced x)
var filenameEXT = "SST"; var mainPath = Folder.desktop + "/"; var fullPath = Folder.desktop + "/New Files/"; var f = File(mainPath + "EXT.svg"); if (f.exists) { f.rename(fullPath + filenameEXT + ".svg"); };