Re: [python-win32] Files in clipboard with DropEffect?

2009-12-21 Thread Stuart Axon
From: Mark Hammond To: Stuart Axon Sent: Thu, December 17, 2009 9:59:22 PM Subject: Re: [python-win32] Files in clipboard with DropEffect? Yeah - something like: CF_PREFERREDDROPEFFECT = win32clipboard.RegisterClipboardFormat( shellcon.CFSTR_PREFERREDDROPEFFECT) effect_str = GetCli

[python-win32] Files in clipboard with DropEffect?

2009-12-09 Thread Stuart Axon
Hi, I made the a script to manipulate files copied into the clipboard from explorer. To know if the file was cut or copied it seems need to get information about the DropEffect - is there a way to do this from win32clipboard ? S++ [pcp.py] import os import sys import win32api from win32co