• 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 in AppleScript problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Double property name in AppleScript problem
      • From: Greg Titus <email@hidden>
  • Prev by Date: Using dynamic library without setting environment variables
  • Next by Date: Re: Help - what happened to my menu? - sorted now thanks
  • Previous by thread: Re: Using dynamic library without setting environment variables
  • Next by thread: Re: Double property name in AppleScript problem
  • Index(es):
    • Date
    • Thread