#1 : 10/03-17 10:03
I want to replace existing filenames with random filenames with 20 characters
Assumed <Rand Str:20> would work, but nothing happens.
I could not delete my post but I already solved it using a script from ivan
however, still, it would be interesting to know how rand str should work.
var a = 7; //lenght you need
var text = '';
var poss1 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'
for(var i=0; i < a; i++)
text += poss1.charAt(Math.floor(Math.random() * poss1.length));
return item.newBasename = text;
10/03-17 10:03 - edited 10/03-17 10:07
#2 : 16/03-17 21:46
Reply to #1:
I don't understand why the <Rand Str:20> doesn't work for you. You are using the latest version, right? Are you able to supply a screenshot showing the <Rand Str:20> in use and not working?