• 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
Problem with modification date of file...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with modification date of file...


  • Subject: Problem with modification date of file...
  • From: David Crowe <email@hidden>
  • Date: Wed, 13 Nov 2002 09:00:00 -0700

Another apparent OSX 10.2 AppleScript problem.


The following scriptlet doesn't work (but did under OS 9)


tell application "Finder"
get every file of folder "xyz" of startup disk whose
modification date = current date
end

The error that I get is:
--> Finder got an error: Can't make some data into
the expected type.

Note that this works with <<...whose name contains "a">>, so this
appears to have something to do with modification date.

I can't think of a workaround to this either.

- David Crowe
_______________________________________________
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.

  • Follow-Ups:
    • Re: Problem with modification date of file...
      • From: John Delacour <email@hidden>
    • Re: Problem with modification date of file...
      • From: Mr Tea <email@hidden>
  • Prev by Date: scripting Mail
  • Next by Date: Re: Entourage: Kill that Daemon! (Shell)
  • Previous by thread: Re: scripting Mail
  • Next by thread: Re: Problem with modification date of file...
  • Index(es):
    • Date
    • Thread