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

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

Community Beginner ,
Feb 09, 2024 Feb 09, 2024

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

 

微信图片_20240210001740.png

TOPICS
SDK
242
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

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.

Translate
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.

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

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