Skip navigation.
 
mlRe: notifications for copy and paste.
FROM : Greg Titus
DATE : Sun Jan 05 11:55:02 2003

On Sunday, January 5, 2003, at 10:50  AM, Benjámin Salánki wrote:
> I was wondering if there are notifications sent out whenever the
> contents of the clipboard changes?
> if not, how should I go on about getting the clipboard contents
> whenever a user copies something to it without constantly checking if
> the data it contains changed or not.


Hi Ben,

As the other reply mentions, the answer is no, there aren't
notifications. If you absolutely must poll the clipboard contents
periodically for changes, though, you can at least use the -changeCount
method to quickly see if the pasteboard has changed since the last time
you checked, instead of actually examining the data every time.

Hope this helps,
   - Greg

Related mailsAuthorDate
mlnotifications for copy and paste. Benjámin Salánki Jan 5, 10:51
mlRe: notifications for copy and paste. David Dunham Jan 5, 11:11
mlRe: notifications for copy and paste. Greg Titus Jan 5, 11:55