[Photoshop/COM] Photoshop 32bit is launched, but does not work. 64bit works

Hey there,

this seems kinda odd. If i have a running 64bit Version of CS4 i can use my COM automation just fine. If no PS is open, the 32bit Version of Photoshop is started and with this my automation does NOT work. Am dispatching from Python 2.7 32bit via win32com. Now i fail to understand why the 64bit Version works while the 32bit Version does not. And if there is a way to launch the 64bit Version (which would be preferable anyways due to the size of the images.

Any hints?

Thorsten

I still got no idea why 32bit PS does not work. To launch 64bit all you have to do is use a 64bit Python install.

There’s still loads and loads of hassle and crazy error messages and whatnot…but am getting there heh

Regards,
Thorsten

I believe it has to do with how Photoshop registers its COM interface in the registry. On 64bit Windows it defaults to launching 64bit Photoshop. If you launch 32bit PhotoShop yourself, you should be able to connect to the running instance. http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/photoshop/pdfs/photoshop_cs4_scripting_guide.pdf

The PhotoShop forums are a good place to look as well IE: http://forums.adobe.com/message/3166007#3166007