• 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: Agent that displays a window with textbox
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Agent that displays a window with textbox


  • Subject: Re: Agent that displays a window with textbox
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 21 Jun 2011 10:44:14 -0700

On Jun 21, 2011, at 2:11 AM, Nick wrote:

> But if an application is an agent, when i press "Control+V", the text can't
> be pasted in the textbox (it can be passed using a context menu, though)

[You mean Command-V, right?]

I think this depends on what you mean by “agent”. In Apple’s terminology, an agent is a background process with no UI that’s running in the user’s login session. Since your process has a window, it’s not strictly speaking an agent — how is the code packaged? If you’ve packaged your code to be truly background-only, but it links against AppKit and opens a window, I think all bets are off and you can expect things to misbehave. But if you just want a process that doesn’t show up in the Dock but can still open windows, what you want is an LSUIElement (look that up in the Apple docs.)

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: 
 >Agent that displays a window with textbox (From: Nick <email@hidden>)

  • Prev by Date: Re: Progress Indicators Spin vs Bar
  • Next by Date: Re: Loop between observers with KVO from UIScrollView
  • Previous by thread: Agent that displays a window with textbox
  • Next by thread: attribute is an array?
  • Index(es):
    • Date
    • Thread