• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Pasting into another app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Pasting into another app
      • From: Scott Ribe <email@hidden>
References: 
 >Pasting into another app (From: Scott Ribe <email@hidden>)

  • Prev by Date: Pasting into another app
  • Next by Date: Re: Resetting the TableView
  • Previous by thread: Pasting into another app
  • Next by thread: Re: Pasting into another app
  • Index(es):
    • Date
    • Thread