File Mod Date
File Mod Date
- Subject: File Mod Date
- From: Steve Savery <email@hidden>
- Date: Mon, 4 Nov 2002 16:12:09 +0000
Below is the AppleScript I've written. As you will see I am trying to
get a list of files whose modification date is equal to the current
day. However, although it compiles, when I run it I get the error:
"Finder got an error: File document file Ice.jpg wasn't found."
upon reaching "info for a" in line 5.
tell application "Finder"
activate
repeat with myItem from 1 to number of files of folder "ePix"
set a to file myItem of folder "ePix"
set k to info for a
set j to date string of modification date of k
if date string of modification date of k is equal to date string of
the (current date) then
set myChosenFiles to myChosenFiles & a as list
end if
end repeat
end tell
Any ideas what I am doing wrong, or whether there is a more refined
method for achieving the same result?
Steve
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.