• 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: Folder Action the Cocoa Way
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Folder Action the Cocoa Way


  • Subject: Re: Folder Action the Cocoa Way
  • From: Pablo Pons Bordes <email@hidden>
  • Date: Sun, 25 Jun 2006 12:56:43 +0100

I don't know if there is any API to do this but if you are able to do this by an apple script what you can do is execute the apple script from the COCOA code with the "NSAppleScript" Class. I think that it is the easy and fasted way if you know to do with apple script


good luck

Pablo Pons

El 24/06/2006, a las 19:40, Mark Butler escribió:

First I am really new to this... So I guess I am beggin for a little slack. Maybe all I really need is pointers to the right documentation.

Is there a way to attach a "folder action" to a directory with an objective c call... Or do I need to call an applescript to do that.

I can attach a folder action by doing an applescript like
Tell application "System Events" to attach action to myFolder using myActionScriptFile


Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Folder Action the Cocoa Way
      • From: Mark Butler <email@hidden>
References: 
 >Folder Action the Cocoa Way (From: Mark Butler <email@hidden>)

  • Prev by Date: Re: Helper Tool on FireWire
  • Next by Date: space bar keyboard short cut
  • Previous by thread: Re: Folder Action the Cocoa Way
  • Next by thread: Re: Folder Action the Cocoa Way
  • Index(es):
    • Date
    • Thread