Hi, I'm a newbie in applescript and mac programming. I'm trying to do a script to change the creation data of files. But I have a problem. The first code is working, but not the second one. I don't want to create variables that I won't use like "file_date" in the first code. Has anyone an idea how to the second code works?
tks,
owal
tks,
owal
Code:
set file_ to choose file
tell application "Finder"
set file_date to creation date of file_
set time_date to time string of file_date
end tell
Code:
set file_ to choose file
tell application "Finder"
set time_date to time string of (creation date of file_)
end tell