• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Finder Whose by Modification date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Finder Whose by Modification date (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: offset with spaces confusion
  • Next by Date: Re: Excel: newby question
  • Previous by thread: Re: Finder Whose by Modification date
  • Next by thread: Re: Finder Whose by Modification date
  • Index(es):
    • Date
    • Thread