Re: Interapp communication
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