Question about reading file info...

How would I go about retrieving the modification date of a specific file without using the “choose file” window? I want to sepcify a certain file in code to retrieve the modification date.

If you have a valid file path stored in a variable - let’s call it “f” - you just call the Finder:

tell app "Finder"
-- optional: set f to f as alias
set modDate to modification date of f
end tell

Hope it helps
Farid