Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / October 2004



Tip: Looking for answers? Try searching our database.

notification when pasteboard changes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robert W. Kuhn - 29 Oct 2004 11:51 GMT
Hello,

is there any notification when th content of the pasteboard changes?
Or is there any other way to get informed?

Bye - Robert
Gregory Weston - 29 Oct 2004 13:32 GMT
> Hello,
>
> is there any notification when th content of the pasteboard changes?
> Or is there any other way to get informed?

Periodically query changeCount? Notifications are not especially
lightweight, and unless you're looking to provide a live window
displaying the current contents of one of the system pasteboards with no
lag I'm not sure what benefit an active notification might provide.

G

Signature

Change account to gw when responding by mail.

Jøhnny Fävòrítê (it means "halo, then resonate") - 31 Oct 2004 07:25 GMT
> is there any notification when th content of the pasteboard changes?
> Or is there any other way to get informed?

depending on what you're trying to do, there might be another way.  for
example, there's an update mechanism you can hook into that gets called
just before a menu is displayed.  that's how the items on the edit menu
can stay in synch with the state of the clipboard.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.