Hi All,

I'm developing a Cocoa application which extends the functionality of the 
clipboard. I have global HotKey registered using Carbon, and this HotKey 
invokes a method in which I'm replacing the contents of the general Pasteboard. 
I want to take this one step further and have the method paste the new contents 
of the Pasteboard. Since this method is called when a global HotKey event is 
triggered it should paste into whatever field in whichever application is 
active.

I'm fairly new to Cocoa, but from what I can tell this is a pretty tall order. 
Please forgive my lack of proper terminology, but I'm wondering if there is a 
way to programmatically call 'Paste', or if there are any facilities in Cocoa 
for simulating key presses? Is there any chance of this idea working? Any 
suggestions for where I should look for an answer?

Kind Regards,
Joshua Brickner
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to