I would like to select one or more Finder items and have a macro that sets the individual items’ Modification Dates to match their Creation Dates. I’m aware of [DATE] Change Creation and/or Modification Date of Selected Finder Item , but that requires manually setting dates. I want a macro that will without interaction overwrite the Mod Date with the Creation Date.
How could I do that?
Is there a way to make this script automatically set the Modification Date value to the same as the Creation Date value without a prompt or any other user interaction?
tell application "Finder"
set fItemList to selection
if length of fItemList = 0 then error "No files were selected in the Finder!"
repeat with oItem in fItemList
set modification date to creation date
Please don’t cross-point in the future.