• 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
How to launch AppleScript routine?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to launch AppleScript routine?


  • Subject: How to launch AppleScript routine?
  • From: Lorenzo Puleo <email@hidden>
  • Date: Wed, 15 May 2002 20:23:46 +0200

Since there is no way to get creation/modif/backup dates from a symLink
file, I'm trying to use AppleScript. It does that very well. Patience.

But now, how should I launch AppleScript routine from my Cocoa application?

My AppleScript routine is:
-------------------------------
on getModifDateSymLink thePath

tell application "Finder"
set myDate to modification date of item thePath
end tell

return myDate

end getModifDateSymLink
-------------------------------

Anwy help whould be appreciated. Thanks.

--
Lorenzo Puleo
mailto:email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: NSLog BUG ?
  • Next by Date: Re: Newbie reference question
  • Previous by thread: Re: System wide Contextual Menu plug ins
  • Next by thread: Scaling TIFFRepresentation
  • Index(es):
    • Date
    • Thread