Re: Finder Whose by Modification date
Re: Finder Whose by Modification date
- Subject: Re: Finder Whose by Modification date
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 03 May 2002 17:52:45 -0700
On 5/3/02 4:04 PM, "Shane Stanley" <email@hidden> wrote:
>
On 3/5/02 11:13 PM +1000, Jason Bourque, email@hidden, wrote:
>
>
> Ok what am I missing or is OS X just broken?
>
>
>
> set vComparingDate to (current date) - (5 * days)
>
>
>
> tell application "Finder"
>
> name of every file of desktop whose (modification date) >
>
> (vComparingDate)
>
> end tell
>
>
I'm not in X at the moment, but I wonder if the problem is not with the date
>
but rather with "every file of desktop". I couldn't get "every file of
>
selection" yesterday.
No, that was a problem with 'selection' . This works in OS 10.1.4, AS
1.8.2.b3:
tell application "Finder"
get every file of desktop
end tell
and so does:
tell application "Finder"
get name of every file of desktop whose name starts with "E"
end tell
'modification date' is the bug. It can't be used in 'whose' clauses.
--
Paul Berkowitz
_______________________________________________
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.