C/C++
tt0404.txt
Associated article: Tech Tips
Tags: C/C++
Published source code accompanying the article by Gigi Sayfan and Matthew Wilson in which they show how to share the clipboard and use Managed C++ strings, respectively.
Tech Tips
edited by George Frazier
Listing One
#!/usr/local/bin/python
import time
from win32clipboard import *
id = 0
clipboard_file = r'homeClipboardclipboard.txt'
prev_data = ''
while (True):
time.sleep(1)
if OpenClipboard() != None:
print 'OpenClipboard() failed'
continue
try:
data = prev_...


