Double property name in AppleScript problem
Double property name in AppleScript problem
- Subject: Double property name in AppleScript problem
- From: email@hidden
- Date: Tue, 11 Mar 2003 11:49:44 +0100
Hi, all
in the .scriptSuite of my scriptable application i have two class with the
same property name. If i set x to property1 of class2 the script editor
give me an error 'NSCannotCreateScriptCommand'. Now if i using set x to
property1 of class1 the script run normally without error.
Where is the problem? I suspect that AppleScript make confusion when there
are two equal property name in differents classes.
Class1 --> property 'property1'
Class2 --> property 'property1'
tell application "MyApp"
set x to property1 of class2 -- Error
set x to property1 of class1 -- No error
end tell
_______________________________________________
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.