FROM : David Wilson
DATE : Fri Apr 18 22:21:39 2008
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 <rod.<email_removed>> 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_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/david.t.<email_removed>
>
> This email sent to david.t.<email_removed>
>
--
- David T. Wilson
david.t.<email_removed>
DATE : Fri Apr 18 22:21:39 2008
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 <rod.<email_removed>> 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_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/david.t.<email_removed>
>
> This email sent to david.t.<email_removed>
>
--
- David T. Wilson
david.t.<email_removed>
| Related mails | Author | Date |
|---|---|---|
| Rod Cater | Apr 18, 21:49 | |
| David Wilson | Apr 18, 22:21 | |
| Daniel Staal | Apr 18, 22:31 | |
| Jens Alfke | Apr 19, 03:04 | |
| Rod Cater | Apr 19, 06:43 |






Cocoa mail archive

