Re: Nsbundle help?
Re: Nsbundle help?
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
|
_______________________________________________
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