Skip navigation
Kjell Post, Weddingbook
Currently Being Moderated

Invoking script using smart object layer - fails in Windows

Nov 6, 2011 5:09 PM

Tags: #script #windows #object #configurator #smart #fails

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!


More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points