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
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
> > F:\automation>test2.py
> > [(1, 1), (1, 2), (2, 2), (2, 1)]
> > Traceback (most recent call last):
> > File "F:\automation\test2.py", line 19, in ?
> > doc.Selection.Select(selregion,1,0,0)
> > File ">", line 3, in Select
> > pywintypes.com_error: (-2147352567, 'Exception occurred.',
>
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