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

Scrip, scale comp, changes both Hight and width.

New Here ,
Dec 20, 2021 Dec 20, 2021

when i use Script to chnge the saize of my Composition, it always changes my hight nad width to the very same number. please what do i do? i'm trying to change 1080x1080 to 12000x 675. but i keop getting 1200x1200 or 675x675.

TOPICS
Error or problem , How to , Scripting
99
Translate
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
Explorer ,
Dec 20, 2021 Dec 20, 2021
LATEST

Hey! That should do the tick:

 

 

var thisComp = app.project.activeItem;
thisComp.width = 1200;
thisComp.height = 675;

 


Hope that helps,
RedyMotion

Translate
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