Skip navigation
Currently Being Moderated

script execution differences

Apr 30, 2012 10:52 AM

Tags: #configurator #extendscript_toolkit

in Extendscript, executing the following:

 

app.activeDocument.flatten();

 

will simple flatten layers, no questions asked.  However if i do it through the Layer menu or through a configurator script button, it will give me a dialog asking to discard hidden layers. Does configurator use a different engine tha extendscript?  When alerting the $.engineName, i get an empty string in configurator and "main" in extendscript.

 

Is there any way to enforce how the script is executed?

 

Thanks

 
Replies

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