[python-win32] Registering 64-bit Shell Extension using 32-bit Python

2010-06-24 Thread Adam Pletcher
I have Python 2.6.2 (32-bit) and pywin32 212, on Vista 64. Using the "context_menu" sample script as reference, I made a script that registers a shell extension, adding a couple right-click commands to 32-bit Explorer. I now need to register it for use in 64-bit Explorer, but can't seem to wor

Re: [python-win32] Registering 64-bit Shell Extension using 32-bit Python

2010-06-22 Thread Adam Pletcher
t; -Original Message- > From: python-win32-bounces+adam=volition-inc@python.org > [mailto:python-win32-bounces+adam=volition-inc@python.org] On > Behalf Of Tim Roberts > Sent: Tuesday, June 22, 2010 5:20 PM > To: Python-Win32 List > Subject: Re: [python-win32] Regi

[python-win32] Registering 64-bit Shell Extension using 32-bit Python

2010-06-22 Thread Adam Pletcher
I have Python 2.6.2 (32-bit) and pywin32 212, on Vista 64. Using the “context_menu” sample script as reference, I made a script that registers a shell extension, adding a couple right-click commands to 32-bit Explorer. I now need to register it for use in 64-bit Explorer, but can’t seem to work i

Re: [python-win32] imp.load_module problem

2009-01-09 Thread Adam Pletcher
We don't appear to have any .assembly files, even after building Python or pywin32, so I think I'm missing something. Could you elaborate a bit, Mark? Thanks in advance. - Adam On Thu, Jan 8, 2009 at 5:44 PM, Mark Hammond wrote: > On 9/01/2009 7:46 AM, Adam P

[python-win32] imp.load_module problem

2009-01-08 Thread Adam Pletcher
We've created a Windows app with an embedded Python interpreter (2.6.1). The deployment includes the files for pywin32 on both x86 Release and Debug builds. Since pywin32 isn't formally installed, I found it necessary to manually import a couple modules at startup before others would import corre

[python-win32] COM illegal argument puzzler

2008-05-24 Thread Adam Pletcher
A co-worker of mine is writing a tool to automate tasks in Photoshop, and found a win32 error we can't explain. And possibly a bug. The following script generates an error about how Select() can only take one-dimensional arrays: import win32com.client ps_app = win32com.client.Dispatch('Photosh

Re: [python-win32] maya and python

2008-05-20 Thread Adam Pletcher
A good source of Maya + Python information is CGTalk's Maya Programming forum: http://forums.cgsociety.org/forumdisplay.php?f=89   In particular, there's this lengthy thread titled "wxPython and Maya 8.5". http://forums.cgsociety.org/showthread.php?f=89&t=453070   I imagine it's all still applicabl

[python-win32] COM Dispatch w/multiple sessions?

2008-05-05 Thread Adam Pletcher
I have a tool that interacts with a COM server created by a third-party application. My users sometimes need to open mutiple copies of that application. You can probably guess where this is going. Is there any way to tell win32com.client to connect to a specific instance/process of that appl

Re: [python-win32] Monitor directories/files

2008-03-07 Thread Adam Pletcher
I recently found this helpful: http://tgolden.sc.sabren.com/python/win32_how_do_i/watch_directory_for_c hanges.html - Adam > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Julius > Sent: Friday, March 07, 2008 2:45 PM > To: python-win32@python.org