Hi,
I am trying to copy an image file to windows clipboard using my code and
paste it manually in any folder in windows explorer. I am using
*Windows 8* *64bit
*laptop, running *Python 2.7 *and *pywin32-218* for win32 APIs
I managed to paste my file in Wordpad application. But, i cannot paste
ins
game4 sale wrote:
>
>
> I am trying to copy an image file to windows clipboard using my code
> and paste it manually in any folder in windows explorer. I am using
> *Windows 8* *64bit *laptop, running *Python 2.7 *and *pywin32-218* for
> win32 APIs
>
> I managed to paste my file in Wordpad applicat
Thank you very much for your time.
Thats strange. For the login user, i think its same. In my Taskmanager,
under User tab, both the processes are running under same user.
I also tried to run my script from command prompt with Admin previlege.
Still same, i cannot paste the file in Explorer.
Also
I tested my code today on Win 7 64 bit, and it worked almost perfect like
Tim said.
If the previous clipboard content was Text, my code works perfectly.
The failure part is:
1) Copy *Image1* from Explorer
2) Run my code to update clipboard with *Image2*
3) Paste operation in Wordpad application o
I'd suggest you experiment with EnumClipboardFormats() and see all the
formats actually in the clipboard - I'm guessing there is another format
preferred over CF_HDROP. Similarly, you probably want to call
EmptyClipboard so the other formats which refer to the initial image are
removed (and if