Re: win32clipboard operation

2009-07-23 Thread MRAB
LeeRisq wrote: On Jul 23, 9:05 am, MRAB wrote: LeeRisq wrote: Hi all, Newbie question. I've written a script that outputs to a text file. Now, I just want to copy the content to win32clipboard for access to other applications. Here's the mess I've come up with so far:) [snip] def copy_text()

Re: win32clipboard operation

2009-07-23 Thread LeeRisq
> I've actually tried this configuration, but I did it again just to be > sure. The program executes without exception, but the text still isn't > copied to the clipboard. Any ideas? So, I think I've figured out the issue. Which brings me to another question...why is it that I can manually copy an

Re: win32clipboard operation

2009-07-23 Thread LeeRisq
On Jul 23, 9:05 am, MRAB wrote: > LeeRisq wrote: > > Hi all, > > > Newbie question. I've written a script that outputs to a text file. > > > Now, I just want to copy the content to win32clipboard for access to > > other applications. Here's the mess I've come up with so far:) > > [snip] > > def co

Re: win32clipboard operation

2009-07-23 Thread MRAB
LeeRisq wrote: Hi all, Newbie question. I've written a script that outputs to a text file. Now, I just want to copy the content to win32clipboard for access to other applications. Here's the mess I've come up with so far:) [snip] def copy_text(): ifile = open(r"C:\Query\DQL.txt", "r")