![]() |
| ||
| win32clipboard problem Hello, I have a weird problem... When I use the clipboard, code runs without error. Attempt to paste directly after run in any application does not work. Pasting in the python shell works fine. After pasting in the python shell, pasting in any other application works fine !!! Need help fast... Thanks... (working with python 2.5 on Vista...) code (justed picked of the web) import win32clipboard def txtToClipboard(iTxt): win32clipboard.OpenClipboard(0) win32clipboard.EmptyClipboard() win32clipboard.SetClipboardText(iTxt) win32clipboard.CloseClipboard txtToClipboard('blahblah') |
| ||
| Re: win32clipboard problem Works great with an XP, so it could be Vista that srews things up. # send text to the clipboard |
| All times are GMT -4. The time now is 9:26 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC