• 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: Modal popup from command line tool or daemon?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modal popup from command line tool or daemon?


  • Subject: Re: Modal popup from command line tool or daemon?
  • From: "David Wilson" <email@hidden>
  • Date: Fri, 18 Apr 2008 16:21:39 -0400

A command line tool or a true background daemon can't really pull it
off- the process wouldn't have a connection to the window server to
actually do any of that. The best bet, I think, would be to have a
small helper application that could be launched to display the
appropriate alert; the helper application could be a very simple cocoa
app.

On Fri, Apr 18, 2008 at 3:49 PM, Rod Cater <email@hidden> wrote:
> Hi
>
>  I'm new to Cocoa and I'm trying to figure out how to create a simple popup
> which can be displayed from a command line tool or a background process.
> Ideally it would be something like NSAlert plus a text input field. I've
> been reading Apple's docs on windows, documents and the various controllers,
> and playing around with Interface Builder, but I think I'm missing something
> basic. Any pointers on where to begin would be appreciated.
>
>  Rod
>  _______________________________________________
>
>  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
>



--
- David T. Wilson
email@hidden
_______________________________________________

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

  • Follow-Ups:
    • Re: Modal popup from command line tool or daemon?
      • From: Jens Alfke <email@hidden>
    • Re: Modal popup from command line tool or daemon?
      • From: Daniel Staal <email@hidden>
References: 
 >Modal popup from command line tool or daemon? (From: Rod Cater <email@hidden>)

  • Prev by Date: Re: NSBundle loadNib creates extra NSMenuItem
  • Next by Date: Re: Bitmap data from CGImageRef
  • Previous by thread: Modal popup from command line tool or daemon?
  • Next by thread: Re: Modal popup from command line tool or daemon?
  • Index(es):
    • Date
    • Thread