I have global HotKey registered using Carbon, and this HotKey
invokes a method in which I'm replacing the contents of the general
Pasteboard. [...] I'm wondering if there is a way to
programmatically call 'Paste', or if there are any facilities in
Cocoa for simulating key presses?
Actuall
On Sun, Oct 5, 2008 at 8:42 PM, Joshua Brickner <[EMAIL PROTECTED]> wrote:
> I'm wondering if there is a way to programmatically call 'Paste'
If you're running in the process of the foreground app, you could do
something along the lines of:
[[[NSApp mainWindow] firstResponder] paste:nil];
You co
Hi All,
I'm developing a Cocoa application which extends the functionality of the
clipboard. I have global HotKey registered using Carbon, and this HotKey
invokes a method in which I'm replacing the contents of the general Pasteboard.
I want to take this one step further and have the method pas