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
>
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
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