• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Double property name problem in applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Help - what happened to my menu? - sorted now thanks
  • Next by Date: Re: Using dynamic library without setting environment variables
  • Previous by thread: Re: Double property name in AppleScript problem
  • Next by thread: Threads and messages
  • Index(es):
    • Date
    • Thread