Re: Pasting into another app
Re: Pasting into another app
- Subject: Re: Pasting into another app
- From: Dave DeLong <email@hidden>
- Date: Fri, 09 Jan 2009 11:20:42 -0700
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 (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