Skip to main content
Participant
May 7, 2023

Output Module Extendscript setSettings Negative Crop Value Bug

  • May 7, 2023
  • 0 replies
  • 126 views
  • Issue - changing crop via Using outputModeule.setSettings() to a number below 0 will result an invalid value for key error.
  • Adobe After Effects version number : tested on 23 and below
  • Operating system : Windows 10
  • Steps to reproduce - run supplied code.
  • Expected result - the crop value should be allowed to be negative, as i can manually set it via the UI.  We use negative values to format renders into an HD raster at render time instead of in a comp.
  • Actual result -  Get error, unable to set.

 

var new_data = {
"Crop": true,
"Crop Bottom": -10,
"Crop Left": -10,
"Crop Right": -10,
"Crop Top": -10
}

app.project.renderQueue.item(1).outputModule(1).setSettings(new_data);