The lines may be equivilent, but I don't think you need to reference the script part of an object to adjust basic properties such as Opacity and Text. |
I think if you create an example object and upload it to wincustomize, this will give users a working object to play with and observe the script in action. |