Troubles with clipboard in Python

前端 未结 1 405
独厮守ぢ
独厮守ぢ 2021-01-07 08:49

I\'m learning Python right now and I want to write some script that will helps me with work. The idea is: while True: read some string from clipboard, modify it

相关标签:
1条回答
  • 2021-01-07 08:57

    ralu, thanks. I've got it at the same time I've got your answer. I should've use win32clipboard.SetClipboardText(data) instead of win32clipboard.SetClipboardData(win32clipboard.CF_TEXT, data).

    0 讨论(0)
提交回复
热议问题