(SCRIPT256: Could not get the type property. This command is not supported. ).
This is the code I used to change the type.
Please help me to debug this.