advertisement

Article:
  Variables Inside Cocoa Objects
Subject:   NSDocument only?
Date:   2002-09-19 11:59:13
From:   anonymous2

I see for this part you changed from a simple NSApplication to one based on NSDocument.


I am trying to have a simple little application using what you have outlined and set up a method which can be used via AppleScript using the accessors/etc, but just cannot seem to get things to work properly.


The dictionary shows the property, but when I try to use it in a script AppleScript sees it not as a property, but simply as a variable in the script.


So, how do you expose a set of accessors in a non-NSDocument derived application?