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 (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to