• 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: Open Window from Input Manager
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Open Window from Input Manager (From: Daniel <email@hidden>)

  • Prev by Date: Re: Sage advice (NSView vs. CALayer)
  • Next by Date: Re: Message Forwarding Overhead / Performance
  • Previous by thread: Open Window from Input Manager
  • Next by thread: Re: Open Window from Input Manager
  • Index(es):
    • Date
    • Thread