0 Replies Latest reply: Nov 6, 2011 5:09 PM by Kjell Post, Weddingbook RSS

    Invoking script using smart object layer - fails in Windows

    Kjell Post, Weddingbook Community Member

      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:

      Configurator-bug2.png

      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!