• 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
Question on pasteboard manager
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Question on pasteboard manager
      • From: Graham Cox <email@hidden>
    • Re: Question on pasteboard manager
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Want to display different views of files/folders (Icon view, list view, thumbnail view ) in the Application Window
  • Next by Date: Re: Want to display different views of files/folders (Icon view, list view, thumbnail view ) in the Application Window
  • Previous by thread: RE: Want to display different views of files/folders (Icon view, list view, thumbnail view ) in the Application Window
  • Next by thread: Re: Question on pasteboard manager
  • Index(es):
    • Date
    • Thread