--- In [email protected], "brucexs" <bruc...@...> wrote:
>
> 
> 
> http://powerpro.webeddie.com/download/powerpro.exe
> 
> From my testing, it seems to fix the reference error on the collection object 
> specified after for each.

That's fixed, thanks.
 
> Can you also omit the 
> objfile = "" from your script and verify via debug or trace from your plugin 
> that references creates by objfile are deleted (last one not until script 
> exits).

Will do in a day or two.
 
Another bit of syntactic sugar I may already have metnioned: many languages 
that do the dot syntax support with/endwith:


objRange.Font.With
  .Bold = 1
  .Animation = 3
  .Size = 30
com.end_with()

I have to do:

objRange.Font.With
  com.set_property(".Bold", 1)
  com.set_property(".Animation", 3)
  com.set_property(".Size", 30)
com.end_with()

If you wanted to go there, simplest would be to support a single level of 
with/endwith, probably by providing another callback

  ppsv->SetWith(LPSTR sig, DWORD (*with)(LPSTR han, BOOL bStart));

which means you'd have to be watching for 

  .method(xxx,  ...)
  .property[(...)] = x
  x = .property[(...)]


hmmm...probably quite a bit of work to make that hapnne.



Reply via email to