[python-win32] Python code to drop file onto GUI, using pywin32

2019-03-17 Thread Tom Parker
Here's my issue: Given a filename and a GUI, I need some Python code (on Windows) to drop the file onto the GUI. The GUI (third-party) already accepts files via drag and drop (using OLE, but not WM_DROPFILE). I was thinking pywin32 might be the right tool to use, but I don't know where to

[python-win32] How to get target of folder shortcuts

2019-03-17 Thread kurt
Hello, I'm trying to get the target filename of windows shortcuts. The code below works great for regular shortcuts, but errors out on "folder shortcuts". (for what I mean, see: https://superuser.com/questions/456399/what-different-types-of-shortcut-are-there/639967#639967) The code below works