On Jun 13, 2011, at 09:06, Emmanuel LEVY wrote:
> I don't even know how you set a modification date...
______________________________________________________________________
Hey Emmanuel,
Mark's script works nicely, but it is also easily done with vanilla Applescript:
tell application "Finder"
try
set sel to (selection as alias list)'s first item
set modification date of sel to (current date)
on error errMsg number errNum
set sep to "=============================="
set e to sep & return & "Error: " & errMsg & return & sep & return ¬
& "Error Number: " & errNum & return & sep
beep
display dialog e
end try
end tell
--
Best Regards,
Chris