Novice to scripting. I need to trim 2 characters on the left side of a filename. What's the syntax and where do I execute it? Also, can the code be used when using F2 (Batch rename)?
Thanks for your help!
Code: Select all
renameitem(substr(gpc(, "base"), 2), , 1);Code: Select all
Also, can the code be used when using F2Code: Select all
foreach($item, <get SelectedItemsPathNames |>, , "e") { renameitem(substr(gpc($item, "base"), 2), $item, 1); }