put one block after the previous in the same jsfl file.
I tried that but the thing is I want to run all that code in all open files,
Like that it only plays the alowsmooth and playhead once and than publish all files.
But it doesnt change the allowsmooth or playhead on the other files
Is there a way to mix it up so it works on all files?
var docs = fl.documents;
var countNum = docs[i].getTimeline().frameCount-1;
Totally works, tks Kglad