Re: [python-win32] Fw: Python COM and Photoshop

2007-05-08 Thread Sam The Cat
As a follow-up question is there a way to see what python thinks the variable should be ? In looking at the file created by makepy I see the function call for select but nothing that looks to me like information relating to the type of variable that needs to be generated here is the method in

Re: [python-win32] Fw: Python COM and Photoshop

2007-05-08 Thread Sam The Cat
Mark, My apologies -- I tried to relay that I have tried both ways -- "early and late dispatch" Here is the output after running the makepy routine on the type and object libraries for Photoshop --- 2.5.1 (r251:548

Re: [python-win32] Python COM and Photoshop

2007-05-07 Thread Sam The Cat
One more thought -- I have tried both Early and Late binding COM calls and I get the same error message either way. >I thought I'd try this again -- still no progress on my debugging. From >using Visual Basic it seems that the interface is expecting an array of >type varint where each elemen

[python-win32] Fw: Python COM and Photoshop

2007-05-07 Thread Sam The Cat
I thought I'd try this again -- still no progress on my debugging. From using Visual Basic it seems that the interface is expecting an array of type varint where each element of the array is another array. The inner arrays are two elements long (an x and y data point) I have also tried using

Re: [python-win32] Python COM and Photoshop

2007-05-01 Thread Sam The Cat
Jim, Yes -- Each permutation has the same issue -- If I try anything that looks two dimensional I get the error below, if I try a scalar or single dimension array I get an "illegal" argument error - Original Message - From: "Jim Vickroy" <[EMAIL PROTE

[python-win32] Python COM and Photoshop

2007-04-30 Thread Sam The Cat
Help ! I am writing some COM code in Python to control photoshop. Several functions of PS require an "Array" argument. In the examples of VBscript or javascript the Array type is used. I have tried what would appear to be the equivalent in Python -- Lists and Tuples -- but to no avail. Anyone