• 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
Re: Watching a pasteboard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Watching a pasteboard


  • Subject: Re: Watching a pasteboard
  • From: Heinrich Giesen <email@hidden>
  • Date: Sun, 3 Apr 2005 17:08:30 +0200


On 02.04.2005, at 18:25, Massimiliano Origgi wrote:
Is it possible to be notified in some way when the contents of a
pasteboard get changed?
No.

The only solution so far would be to poll for the change count value,
Yes.

but clearly it's ugly
No, it's common for a lot of UNIX tasks

inefficient
No
If you set a timer that fires two or three times per second the
cpu usage is within microseconds. I did so for an application
that permanently observes changes on the pasteboard server
and shows the current contents of the several pasteboards.
For me it worked perfectly


-- Heinrich Giesen

email: email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Watching a pasteboard
      • From: Massimiliano Origgi <email@hidden>
  • Prev by Date: Re: [moderator] Re: .Mac PrefPane's QuotaBar
  • Next by Date: Re: [OT] 2GB file limit
  • Previous by thread: Watching a pasteboard
  • Next by thread: Re: Watching a pasteboard
  • Index(es):
    • Date
    • Thread