• 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
Re: Nsbundle help?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nsbundle help?


  • Subject: Re: Nsbundle help?
  • From: "email@hidden" <email@hidden>
  • Date: Tue, 05 Apr 2011 17:21:21 +0100



On 3 Apr 2011, at 02:31, John C. Welch wrote:

tell current application's NSBundle to set theBundle to bundleWithIdentifier_(theBundleID)
Which would then allow me to do things like:

set my theBundlePath to theBundle's executablePath()

However, when I try that one, I get:

[<NSObject 0x7fff70154468> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key theBundlePath.


Try it without the 'my' if you want to set a local variable named theBundlePath.
Otherwise you probably need to define an NSObject class property  named theBundlePath.


Regards

Jonathan Mitchell

Developer
Mugginsoft LLP
http://www.mugginsoft.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Nsbundle help?
      • From: "John C. Welch" <email@hidden>
References: 
 >Nsbundle help? (From: "John C. Welch" <email@hidden>)

  • Prev by Date: Nsbundle help?
  • Next by Date: trouble Receiving text from error
  • Previous by thread: Nsbundle help?
  • Next by thread: Re: Nsbundle help?
  • Index(es):
    • Date
    • Thread