Re: ...whose modification date
Re: ...whose modification date
- Subject: Re: ...whose modification date
- From: Mr Tea <email@hidden>
- Date: Thu, 20 Jun 2002 10:28:01 +0100
This from bryan - dated 20/6/02 03.01 am:
>
Is there a workaround for the failure in OS X of:
>
>
tell application "Finder"
>
items of alias "Incoming Images:" whose (modification date < ((current
>
date) - 600))
>
end tell
You could do this:
set theDate to ((current date) - 600)
set theOldStuff to {}
tell application "Finder"
set theItems to (items of alias "Incoming Images:")
repeat with n in theItems
if modification date of n < theDate then
set end of theOldStuff to n as alias
end if
end repeat
end tell
Cordially
Mr Tea
--
Brew of the day: [ibid]
_______________________________________________
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.