set clipboard

def setText(aString):
    clip.OpenClipboard()
    clip.EmptyClipboard()
    clip.SetClipboardData(con.CF_UNICODETEXT, aString)
    clip.CloseClipboard()
posted @ 2017-03-22 10:07  idlewith  阅读(192)  评论(0编辑  收藏  举报