I have recently encountered in what seems to be a bug in Configurator in Windows. The same example works on a Mac.
The scenario is the following: a document with a smart object layer on top.
A configurator button executes the script app.activeDocument.activeLayer.resize(133.33333, 133.33333, AnchorPosition.MIDDLECENTER);
This causes an error message as below:
If I instead invoke the script manually, using File > Scripts > Browse... it works fine.
The button works fine if the smart object is rasterized.
I'm running Configurator 2 (052610), CS5 and Windows XP. Any help is greatly appreciated!
Europe, Middle East and Africa