• 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: Using AppleEvents to copy and past text from any application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using AppleEvents to copy and past text from any application


  • Subject: Re: Using AppleEvents to copy and past text from any application
  • From: has <email@hidden>
  • Date: Tue, 5 Jan 2010 21:58:52 +0000

On 5 Jan 2010, at 21:41, Jesse Grosjean wrote:

> Last, how would I go about sending Cmd-C/Cmd-V keystrokes directoy to
> another application?

Haven't done it myself, but I would guess CGEventCreateKeyboardEvent() and friends would be simplest.

HTH

has

--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net

_______________________________________________

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: Using AppleEvents to copy and past text from any application
      • From: Dave DeLong <email@hidden>
References: 
 >Re: Using AppleEvents to copy and past text from any application (From: has <email@hidden>)
 >Re: Using AppleEvents to copy and past text from any application (From: Jesse Grosjean <email@hidden>)

  • Prev by Date: Re: NSDate without time portion
  • Next by Date: Re: NSDate without time portion
  • Previous by thread: Re: Using AppleEvents to copy and past text from any application
  • Next by thread: Re: Using AppleEvents to copy and past text from any application
  • Index(es):
    • Date
    • Thread