I think there is a clipboard watcher concept, but pywin32 doesn't expose it. One option might be to simply poll win32clipboard.GetClipboardSequenceNumber() - but the docs list some caveats which might mean it doesn't work in all cases (specifically in delayed rendering)

Cheers,

Mark


On 1/04/2012 2:09 AM, reckoner wrote:
I'm doing some automation using Python and I'm looking for something
similar to Autohotkey's Clipwait function.

see here:  http://www.autohotkey.com/docs/commands/ClipWait.htm

This basically waits for new clipboard data after a previous copy
operation (like  ctrl+c).

Thanks!
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32


_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to