• 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: Interapp communication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interapp communication


  • Subject: Re: Interapp communication
  • From: John Stiles <email@hidden>
  • Date: Sat, 18 Mar 2006 08:47:13 -0800

Check out the Accessibility API for an example of how to do this.


David Rogers wrote:
Ok, after working through a few things, I'm down to one question. Can I send a message to another application using Cocoa? Like Apple Events for example. I'd really like to send a "paste" command to Safari. Is this possible?

thanks in advance,

dave rogers

On Mar 17, 2006, at 3:20 PM, David Rogers wrote:

I was wondering if there is a way to paste something into a textfield in another app.

In my case, my app will pop up a window to let the user select something from a list, then return back to the current app. I want to be able to paste something into a text field(for me, in a web browser) based upon what the user selected.

I can see this being possible with services, but I was wondering if there was another way. Perhaps setting a string to the general pasteboard then sending a paste message to the frontmost app?

Thanks for any ideas,

dave rogers
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Interapp communication
      • From: Guy English <email@hidden>
References: 
 >Interapplication Pasteboard Communication (From: David Rogers <email@hidden>)
 >Interapp communication (From: David Rogers <email@hidden>)

  • Prev by Date: Re: Dropping controls on subclassed NSView
  • Next by Date: Re: Learning MallocDebug/Leaks
  • Previous by thread: Re: Interapp communication
  • Next by thread: Re: Interapp communication
  • Index(es):
    • Date
    • Thread