开发者

copying text from my cocoa application to another

I have a cocoa a开发者_Go百科pplication, that on pressing a certain key gets selected text from the frontmost application and processes it. Now I'd like to replace the selection that it took with a processed text. How do I do it?

TIA


Look into the services system...

http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/SysServices/Articles/using.html#//apple_ref/doc/uid/20000854-CEGDDHJJ

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜