[python-win32] Not able to paste file in windows explorer using SetClipboardData
Tim Roberts
timr at probo.com
Wed May 21 18:29:19 CEST 2014
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 application. But, i cannot paste
> inside windows explorer. The Paste menu is disabled. Any
> help/suggestions would be much appreciated.
>
I'm confused. I just ran your exact code on Win 7 64 with Python 2.7.5
32, unchanged except for the file name, and it worked perfectly.
Is the script running as the same login user as Explorer?
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20140521/e094db3d/attachment.html>
More information about the python-win32
mailing list