Adding Applescript support

Hi,
i would like to add applescript support to a Cocoa - application. But because i’ve no idea how to realize that, i need some help to implement such a feature.
Applescript should be possible for the Gimp - which is the candidate in discussion

here the link:
http://gimp.lisanet.de/Website/News/Eintrage/2013/3/21_GIMP_2.8.4_released.html

whats your opinion? somebody around who likes to check/experiment with the Gimp?

Hi,

adding scriptability to a Cocoa app could be quite easy as well as a real pain (I speak from own experiences).

Here is a starting point

I have a blog post that I created when I needed to do this also. It was rather obtuse honestly, and I only needed to add 1 action! Here’s what I have, it’s by no means authoritative, but it is how I was doing it.
http://chris.paveglio.com/blog/?p=42