Re: Cocoa Apple Script Problem

2008-12-25 Thread Matt Neuburg
On Fri, 19 Dec 2008 10:11:19 -0800, John Nairn said: >This does work as expected > > tell front document > make new family at end > tell last family > set properties to {husband:"@I5@"} > end tell > end tell > >This creates the object but does NOT set the properties > > tell front document >

Re: Cocoa Apple Script Problem

2008-12-19 Thread john
Hi John- If you are on Leopard, try taking a look at the documentation for the following method: - (id)newScriptingObjectOfClass:(Class)class forValueForKey:(NSString *)key withContentsValue:(id)contentsValue properties:(NSDictionary *)properties; The Cocoa Scripting Guide refers to the Leopard

Cocoa Apple Script Problem

2008-12-19 Thread John Nairn
I have implemented the required methods to support creating an object in Apple Script, but it does not work as advertised. This does work as expected tell front document make new family at end tell last family set properties to {h