Pasteboard and... How to tell an application to paste or to copy...
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.