[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

[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

Re: [python-win32] playing with scintillacon

2017-12-16 Thread Kurt Eilander
ll's created by 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 wrote: Ok, I found scintilla.dll in the directo

Re: [python-win32] playing with scintillacon

2017-12-15 Thread Kurt Eilander
pplication" 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 (scientifi

[python-win32] playing with scintillacon

2017-12-14 Thread Kurt Eilander
;s not a bug out on this somewhere, there probably should be.) That's not the point though.  Point is: what are we looking for? Thanks, -Kurt ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

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

2017-04-06 Thread Kurt Eilander
() blocks and I can't get back out of it!) I tried changing Tk() to Tk(screenName="SysModalDesktop") but that didn't make a difference. How do I make my window go to the right desktop?? -Kurt ___ python-win32 mailing list python-win

[python-win32] win32api handle incompatible with ctypes?

2017-03-04 Thread Kurt Eilander
r'>: long int too long to convert Almost like ctypes doesn't like the win32api handle. My machine is 64 bit. Is that what ctypes is not liking? Is there a way around it? -Kurt ___ python-win32 mailing list python-win32@python.org https://m

[python-win32] Windows Tablet Accelerometers

2017-03-04 Thread Kurt Eilander
Anybody use python to access built-in accelerometers on windoze? I found this: https://docs.microsoft.com/en-us/uwp/api/Windows.Devices.Sensors.Accelerometer but it appears to be an (COM??) object, so I hate to do battle with that if somebody has already done the leg-work. -Kurt

[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 IExtractImage:

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

2016-07-06 Thread Kurt Eilander
'explore', but that doesn't even work for me. The context menu only has Cut, Create Shortcut, and Delete. Not seeing any errors in the syslogs. Any fixes or suggestions would be most appreciated! Thanks in advance, -Kurt Today I decided to try it on Vista 32-bit, SP2. Also, this was

[python-win32] shell_view.py folder not browsable

2016-06-23 Thread Kurt Eilander
'explore', but that doesn't even work for me. The context menu only has Cut, Create Shortcut, and Delete. Not seeing any errors in the syslogs. Any fixes or suggestions would be most appreciated! Thanks in advance, -Kurt ___ python-win

Re: [python-win32] new Pywin32 errors stating 'object has no attribute' - and the code worked previously

2012-07-17 Thread Kurt Munson
Point taken, while trying to avoid a discussion on the validity of case sensitivity. 8) -Kurt -Original Message- From: python-win32-bounces+kurt.munson=hbmncode@python.org [mailto:python-win32-bounces+kurt.munson=hbmncode@python.org] On Behalf Of Tim Roberts Sent: Tuesday

Re: [python-win32] new Pywin32 errors stating 'object has no attribute' - and the code worked previously

2012-07-17 Thread Kurt Munson
solved this problem. Thanks again for the help. -Kurt -Original Message- From: python-win32-bounces+kurt.munson=hbmncode@python.org [mailto:python-win32-bounces+kurt.munson=hbmncode@python.org] On Behalf Of Graham Bloice Sent: Tuesday, July 17, 2012 11:56 AM To: python-win32

Re: [python-win32] new Pywin32 errors stating 'object has no attribute' - and the code worked previously

2012-07-17 Thread Kurt Munson
There almost nothing in C:\Python26\Lib\site-packages\win32com\gen_py. In a subfolder \00020813---C000-0046x0x1x7, I have 30 .py and .pyc, all generated in the last day. Are you saying that they should be removed? -Kurt -Original Message- From: python-win32-bounces

Re: [python-win32] new Pywin32 errors stating 'object has no attribute' - and the code worked previously

2012-07-17 Thread Kurt Munson
isible, in lower case. I thought dynamic dispatch would remove case sensitivity. -Kurt -Original Message- From: Tim Golden [mailto:m...@timgolden.me.uk] Sent: Tuesday, July 17, 2012 10:27 AM To: Kurt Munson; python-win32@python.org Subject: Re: [python-win32] new Pywin32 errors statin

[python-win32] new Pywin32 errors stating 'object has no attribute' - and the code worked previously

2012-07-17 Thread Kurt Munson
then I get all sorts of other errors, in places that didn't error previously. Why would this code have worked for years, and then suddenly not work now? I am using Python 2.6.5 and pywin32-214 on 64 bit Windows 7. I uninstalled and reinstalled Python an

[python-win32] pywin32 install error?

2009-10-24 Thread Kurt Schwarz
Hello, I attempted to install pywin32 build 214 for Python 3.1.1 and I recieve this trackback after the install completes: Traceback (most recent call last): File "", line 601, in File "", line 329, in install File "", line 15, in write AttributeError: 'NoneType' object has no attribute 'w

[python-win32] Controlling Excel via COM: errors with conditional formatting

2008-09-24 Thread kurt munson
I have written a Python program to control MS Excel via win32com.client. This allows me to create and control an Excel spreadsheet.I want to use Excel's conditional formatting to color certain cells, but I can't get it to work.Here's the code I use: import win32com.clientxl= win32com.clien