• 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
Pasteboard and... How to tell an application to paste or to copy...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pasteboard and... How to tell an application to paste or to copy...


  • Subject: Pasteboard and... How to tell an application to paste or to copy...
  • From: Quentin Mathé <email@hidden>
  • Date: Wed, 23 Apr 2003 01:52:27 +0200

Hi,

I have a status menu item, when the user chooses :

- "paste something"
I want to retain the current pasteboard and then put my data on a new pasteboard, paste it in the frontmost application selection, and finally restore the retained pasteboard.

- "copy something"
I want to retain the current pasteboard and then copy the selection in the frontmost application, retrieve the data on the pasteboard, and finally restore the retained pasteboard.

The problem is to trigger pasting or copying in another application ? Any idea perhaps Apple Events I don't know.

--
Quentin Mathi
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: What's with these redundant methods ?
  • Next by Date: Re: Security.framework problem [REPOSTING WITH MORE INFO]
  • Previous by thread: RTF problem
  • Next by thread: Re: Security.framework problem [REPOSTING WITH MORE INFO]
  • Index(es):
    • Date
    • Thread