Applescript support for Carbon application. Are there any examples?

Discussion in 'Mac Programming' started by kostya82, Apr 24, 2006.

  1. kostya82 macrumors newbie

    Jul 26, 2005
    I'm writing a console application for Mac OS X and I would like to
    expose some of my application objects for applescripting.

    Are there any good examples, that shows how this could be done? The
    only one I have found is MoreOSL ( ), but it's
    completely out of date

    Any suggestion will be deeply appreciated.

  2. Soulstorm macrumors 68000


    Feb 1, 2005
    When using MOSL, you can't use your objects with Applescript. Instead, you make some functions that you can then call with applescript applications.
  3. kostya82 thread starter macrumors newbie

    Jul 26, 2005
    I know I cann't expose my objetcs as they are in my application because applescript syntax is less flexible than c++.

    However I've thought I can declare some objects with several properties and a set of functions which operate on these objects.

    Is that possible?

Share This Page