Notifications
Clear all

[Closed] next loop after filePostSave

Please help, I have a loop

for s=1 to arrayA.count do
 (
         saveMaxFile ((getFilenamePath file) + (getFilenameFile file) + "_" + (s as string) + ".max")  
 )
 

How to go to the next loop just after filePostSave.
When I apply my code to one file, it’s working great, but in batch mode, I get some good, some corrupted files. Thx in advance!!!
(PS: I simplified the code, I have another case, but it’s similar)

1 Reply

I found by myself. The problem was not “for loop”, I just had to reset maxfile before loading.