[python-win32] shell_view.py folder not browsable

2016-06-23 Thread Kurt Eilander
Hey all, I was hoping to create my own IShellFolder in python, but there seems to be something wrong with the example on my system. (Win7 64bit, Python 2.7) The folder shows up on the desktop, but I cannot open it. I saw an earlier thread where the solution was to right-click and select

Re: [python-win32] shell_view.py folder not browsable

2016-07-06 Thread Kurt Eilander
Hey all, I was hoping to create my own IShellFolder in python, but there seems to be something wrong with the example on my system. (Win7 64bit, Python 2.7) The folder shows up on the desktop, but I cannot open it. I saw an earlier thread where the solution was to right-click and select

[python-win32] What does pythoncom interface look like?

2017-01-08 Thread Kurt Eilander
Hey all, I'm trying to create a win32com server that implements a standard interface (IExtractImage) I've added the iid to _com_interfaces_ and the method names to _public_methods_, but now I'm at a complete loss how to implement them. For instance, given the method, HRESULT

[python-win32] CreateDesktop() and displaying a window on it

2017-04-06 Thread Kurt Eilander
Hey all, I'm trying to get system modal functionality like the UAC dialog. According to http://developex.com/blog/system-modal-back/ the thing to do is to create and switch to a new desktop. Therefore, I'm doing: hDeskOld=win32service.GetThreadDesktop(win32api.GetCurrentThreadId())

[python-win32] win32api handle incompatible with ctypes?

2017-03-04 Thread Kurt Eilander
Hey all, I'm having another problem. I'm wanting to get the size of a dll resource, but... When I do: try: hLib=win32api.GetModuleHandle(fileName) except: hLib=win32api.LoadLibrary(fileName) if hLib==None: raise WindowsError('File not found, '+fileName)

Re: [python-win32] playing with scintillacon

2017-12-16 Thread Kurt Eilander
the installer, I'm wondering if this might be a clue?  Could there be a problem with the way the dll's are compiled and/or installed?? On 12/15/2017 3:47 PM, eryk sun wrote: On Fri, Dec 15, 2017 at 9:10 PM, Kurt Eilander <web...@totalrewind.com> wrote: Ok, I found scintilla.dll in the direc

[python-win32] playing with scintillacon

2017-12-14 Thread Kurt Eilander
Hey all, I recently noticed that pythonwin comes with a scintilla wrapper. Seems USEFUL!  so I decided to (scientifically) try poking it with a stick to see what it does. (https://github.com/mhammond/pywin32/tree/7da19cd2ca3fac06638d9af690b8b6f5fcc65e8b/Pythonwin/pywin/scintilla) I didn't

Re: [python-win32] playing with scintillacon

2017-12-15 Thread Kurt Eilander
ation" sounds like a 32/64-bit issue to me. The 32/64-bit version of python you're running: does it match the DLLs? On 2017-12-14 6:10 PM, Kurt Eilander wrote: Hey all, I recently noticed that pythonwin comes with a scintilla wrapper. Seems USEFUL!  so I decided to (scientifically)

[python-win32] Dragdrop shell extension?

2018-06-26 Thread Kurt Eilander
Hey all, I've implemented a file format called .urls which is a plain text file containing (guess what) urls. I've successfully registered it with a python script so it can, when clicked, open a new browser windows with all of the urls listed in new tabs. (Very handy!) Now, I want to be able