Re: Open Window from Input Manager
Re: Open Window from Input Manager
- Subject: Re: Open Window from Input Manager
- From: "Michael Ash" <email@hidden>
- Date: Tue, 28 Oct 2008 23:44:49 -0400
On Tue, Oct 28, 2008 at 4:59 PM, Daniel <email@hidden> wrote:
> Hi,
>
> I'm working on a project for inserting special characters in text
> fields in all Cocoa apps by means of an Input Manager.
>
> After a given trigger/shortcut I have the need to open a window/panel,
> but I don't get it.
>
> I've tried to load a NIB file, but the Console reported
>
> -[NSWindowController loadWindow]: failed to load window nib file 'Chooser'
>
> Is there another way to do it right? I've basically the need to open a
> panel/window, change the keyboard focus from the textfield to the
> opened panel and then continue by closing the panel.
Hard to say if there's another way to do it when we don't know how
you're doing it now.
At a guess, you're telling Cocoa to look for "Chooser" in the main
bundle, but you are not the main bundle so this is the wrong place to
look.
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden