VBscript : how to change the colour of a Pluginitem
Hello the Community,
I got a headache as I tried to find the correct way of scripting to apply a colour change to a Plugitem !
Anyone can help me ? (in VBScript).
In case of Groupitems I can do with such a script:
Set mycolor = docref.swatches(10)
set mygroup = docref.groupitems("MyGroup")
for each piece in mygroup.pathitems
piece.fillcolor = mycolor.color
next
So I expected to apply the same approach with Pluginitems but it doesn't work.
And even I use, for example, 2 pathitems to create the Pluginitem I don't find how to access these included elements after its creation...
In the "Scripting Reference Document" there is no Property keyword designing the "item" contained in the Pluginitem...
Thanks for your help
Bruno
