|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| I'm coding a AS (Applescript) Studio app that utilizes plugins. I need to load nibs and AS handler code, from my plugins, into my app. I'm finding I can load nibs and scripts but my AS handlers are not connected to my nib objects. I wrote my nib loading code using Cocoa; it loads the nibs and scripts and I see this list of top-level-nib objects: 2008-11-04 19:21:21.999 NibLoader[54990:10b] top level objs are ( <NSWindow: 0x15fb4450>, <ASKNibObjectInfoManager: 0x2de2e0>, <RefreshButton: 0x15f66820>, <NSApplication: 0x219fc0> ) I tried using AS's 'load nib' command and found it's nib-search is restricted to my apps main bundle only. I'm guessing 'ASKNibObjectInfoManager' was added by Interface Builder (IB) to connect handlers to nib objects. I'm wondering if there is an initialization function I need to call, similar to ASKInitialize() to connect my AS handlers to my nib objects? I tried ASKInitialize() without success. If I use Cocoa code as a handler and invoke NSBundle's 'load' method I get my desired result. Out of preference I'd like to achieve the same objective in AS. Currently my plugins are AS apps. I've also tested against Cocoa bundles containing AS code. Rob |
_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Studio mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.