Question on pasteboard manager
Question on pasteboard manager
- Subject: Question on pasteboard manager
- From: Anin Teger <email@hidden>
- Date: Fri, 20 Feb 2009 09:25:58 -0800
Hi,
I'm looking for a way/API/etc to do 2 things. I'm not sure this is
possible on Mac OSX but here goes.
1. To programatically enable the Paste menu item in any application's
Edit menu. I'm not looking to do this for any specific application but
in general so that if you were to open any application that has an Edit
menu, the Paste menu item would be enabled. I couldn't figure out how
to do this with the Pasteboard manager API.
and
2. When a user clicks the "Paste" menu item, I'd like to register a call
back function so that my function would be called first. I could then
insert data into the pasteboard and have the application paste those
contents.
Any ideas? I am interested in porting a Windows based application that
relies on this functionality.
Thanks in advance!!
_______________________________________________
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