Version 4 won't set timestamps programmatically

I bought Advanced Renamer specifically because it allowed setting a file's modified (and/or creation date.)

And this worked well enough in version three. For example:

Script Start
------------
newD = new Date();
newD.setHours (newD.getHours() - 1); // Start 1 hour back to reduce chance of "Future" files.
newD.setSeconds (newD.getSeconds() + index); // Increment seconds by one to avoid time collisions.

item.newModifiedDate = newD; // This looks good in preview column but does not actually set the date of the file!

return item.newBasename;
------------
End Script

Followed by a Timestamp step, set to "Image date and time" (Insane but it was needed!)

But with version 4, no attempt to set newModifiedDate works.

I could work around it if Timestamp could be set off a pattern in the *New* Filename. That seems like it would be an easy thing to add.

PLEASE:
1) Fix newModifiedDate and newCreatedDate

2) Add Timestamp off of the New Filename
Reply to #1:
Hallo Randy,

Op dit forum wordt bijvoorkeur gecommuniceerd in het Engels. Hieronder vind je jouw bijdrage vertaald in het Engels. Ik verwacht dat er weldra op zal worden gereageerd.

Dutch question translated for RAndy:

I bought Advanced Renamer specifically because it allows you to set the modification date (and/or creation date) of a file.

This worked fine in version 3. For example:

Script Start
------------
newD = new Date();
newD.setHours(newD.getHours() - 1); // Start 1 hour back to reduce the chance of "future" files.
newD.setSeconds(newD.getSeconds() + index); // Increment seconds by one to avoid time conflicts.

item.newModifiedDate = newD; // This looks good in the preview column, but it doesn't set the file's date!

return item.newBasename;
------------
End of script

Followed by a timestamp step, set to "Image date and time" (insane, but it was necessary!)

But in version 4, any attempt to set newModifiedDate doesn't work.

I could work around this by adding the timestamp as a pattern to the *new* filename. That seems like an easy addition.

Please:
1) Fix newModifiedDate and newCreatedDate

2) Add the timestamp to the new filename.