Getting and setting the clipboard in Windows
Michel Claveau - abstraction méta-galactique non triviale en fuite perpétuelle.
unseulmcmcmcmc at msupprimerlepoint.claveauPOINTcom
Thu Oct 7 12:35:07 EDT 2004
More information about the Python-list mailing list
Thu Oct 7 12:35:07 EDT 2004
- Previous message (by thread): Tracking Users By IP Address
- Next message (by thread): Getting and setting the clipboard in Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi !
This code run, on my CPU :
from win32clipboard import *
import win32con
if __name__=='__main__':
OpenClipboard()
txt=GetClipboardData(win32con.CF_TEXT)
CloseClipboard()
print txt
OpenClipboard()
EmptyClipboard()
SetClipboardText("AZERTYUIOP123")
CloseClipboard()
@-salutations
--
Michel Claveau
mél : http://cerbermail.com/?6J1TthIa8B
sites : http://mclaveau.com http://bergoiata.org http://ponx.org
- Previous message (by thread): Tracking Users By IP Address
- Next message (by thread): Getting and setting the clipboard in Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list