Word of caution:
When posting a paste key event like that, be warned that it does not
translate to international keyboard layouts, where paste can have a
different shortcut (such as command-k). That being said, I don't know
of another way to invoke paste in another application.
Dave
On Jan 9, 2009, at 11:17 AM, Scott Ribe wrote:
I need my app to put data on the clipboard, then cause another app
to paste
it. The other app is not scriptable. Suggestions?
Does this require sending a cmd-v key event to the other app, and
how to do
this (CGEventTap?), or is there a better way?
_______________________________________________
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