• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Output Module Extendscript setSettings Negative Crop Value Bug

Community Beginner ,
May 07, 2023 May 07, 2023

Copy link to clipboard

Copied

  • 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);

Bug Unresolved
TOPICS
Scripting

Views

49

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation