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

How can Premiere scripts obtain the x, y, width, height of text

Community Beginner ,
Feb 09, 2024 Feb 09, 2024

Copy link to clipboard

Copied

I want to obtain the coordinates of the four corners, which are x, y, width, and height  by Premiere scripts

 

微信图片_20240210001740.png

TOPICS
SDK

Views

139

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

correct answers 1 Correct answer

Adobe Employee , Feb 09, 2024 Feb 09, 2024

I'm not sure whether that information is available via API, but if it is, it'd be part of the component param stream; see PProPanel's .mogrt implementation for example code.

Votes

Translate

Translate
Adobe Employee ,
Feb 09, 2024 Feb 09, 2024

Copy link to clipboard

Copied

I'm not sure whether that information is available via API, but if it is, it'd be part of the component param stream; see PProPanel's .mogrt implementation for example code.

Votes

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
Community Beginner ,
Feb 10, 2024 Feb 10, 2024

Copy link to clipboard

Copied

LATEST

Thank you for your reply.

 

In fact, I have many clips, each with text on it.
I want to add cropping effects on the left and right sides of the text,
so I want to get the x, y, width, and height of the text.

 

But I'm sorry, I don't quite understand the example code you provided......111.png

Votes

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