Monitoring the clipboard in an infinite loop isn't a good idea. It
would probably be much better to create a hidden window to act as a
clipboard listener. See the AddClipboardFormatListener function on MSDN
for more details:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms649033(v=vs.85).aspx
--
James Scholes
http://twitter.com/JamesScholes
----------------------------------------------------------------
NVDA add-ons: A list to discuss add-on code enhancements and for reporting bugs.
Community addons are available from: http://addons.nvda-project.org
To send a message to the list: nvda-addons@xxxxxxxxxxxxx
To change your list settings/unsubscribe:
//www.freelists.org/list/nvda-addons
To contact list moderators: nvda-addons-moderators@xxxxxxxxxxxxx