Double property name problem in applescript
Double property name problem in applescript
- Subject: Double property name problem in applescript
- From: email@hidden
- Date: Tue, 11 Mar 2003 12:11:10 +0100
Hi, all
in the .scriptSuite of my application i have 2 classes with the same property
name. If i want set a variable with the value of property of class2 the
script editor give me an error 'NSCannotCreateScriptCommand'. If i set the
same variable with the value of property of class1 the script run normally!!
Where is the probelm?? I suspect that applescript make confusion when there
are 2 equal property name.
tell application "MyApp"
set x to property1 of class2 -- Here give me an error
set x to property1 of class1 -- Here no error
end tell
Thanks for any helps
_______________________________________________
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.