on open files_ display dialog "enter the new creation date in format YYYYMMDDhhmm ex: 200112251730:" default answer "" buttons {"Cancel", "Continue"} copy the result as list to {the new_creation_date, the button_pressed} repeat with file_ in files_ tell application "Finder" set file_ to POSIX path of file_ do shell script "touch -t " & new_creation_date & " " & quoted form of file_ end tell end repeat end open