[Pythonmac-SIG] Clipboard

JoanCarles Casasín joanca@typerware.com
Fri, 5 Oct 2001 15:51:21 +0200


Hi all,

An easy one:
Is possible to copy something (a string, is the case) to the clipboard, and then
go away and paste it somewhere?
---
p.e.

s = "I want to paste this in Simpletext"
xxx.copytoclipboard(s)
---
I suppose it can be done with the Scrap module, but as it's not documented I
couldn't get anything. I suppose it will be easy for most of you...

Thanks,


Joancarles, Typerware®