Implementing a create Handler for applescripts
Implementing a create Handler for applescripts
- Subject: Implementing a create Handler for applescripts
- From: Nathan Day <email@hidden>
- Date: Mon, 20 Oct 2003 20:54:44 +1000
I'm trying to allow the user of my program the ability to create items that exist within a document, but for some reaon my create handler is never called, I have implemented this method in a subclass of NSDocument. Playing around I have found the if I put a create handler in a category of NSApplication, this method is called even though the creation of the item exists within a tell block for the document. I wounld mide this so much if I could get the document the the creation of the item is supposed to occur in, but I don't seem to be able to find this information. Can anybody give me some tips.
_______________________________________________
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.