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

Setting workarea in and out of a Sequence with Automation Blocks (aescript plugin)

Explorer ,
Dec 01, 2023 Dec 01, 2023

Copy link to clipboard

Copied

I would like to set the workarea (render-area) of a Sequence to timecode in: X and out: Y.

02_workarea.png

It looks like the set attribute [   ]  of sequence block doesn't provide the workarea as an option.

Is there another way to do it, or, can it be implemented?

 

01_sequenceinpoint.png
In ExtendScript I would expect to be implemented:

seqItem.isWorkAreaEnabled() - check if there is a workarea
seqItem.setWorkAreaEnabled(true) - enable or disable a sequence's workarea
seqItem.setWorkAreaInPoint() - set sequence workarea inpoint
seqItem.setWorkAreaOutPoint() - set sequence workarea outpoint
seqItem.getWorkAreaInPointAsTime() - get sequence workarea inpoint
 seqItem.getWorkAreaOutPointAsTime()  - get sequence workarea outpoint

As also found here:  https://github.com/Adobe-CEP/Samples/blob/master/PProPanel/jsx/PPRO/Premiere.jsx
 
TOPICS
SDK

Views

646

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 4 Correct answers

Adobe Employee , Dec 01, 2023 Dec 01, 2023

I have no idea where that Scratch-like UI in your screenshots is coming from, but here's PProPanel, setting the work area:

 https://github.com/Adobe-CEP/Samples/blob/e60d6a22ef44d8eb4cca3904c35a0c050576b697/PProPanel/jsx/PPRO/Premiere.jsx#L2571

Votes

Translate

Translate
Adobe Employee , Dec 01, 2023 Dec 01, 2023

Ahhh; I thought since you were posting on Adobe's forum, you were looking for a response from Adobe. And yes, I should have recognized Automation Blocks; sorry Mathias. 

DVAPR-4239719 will not be addressed until PPro has moved to UXP-based extensibility; no dates available. 

Votes

Translate

Translate
Community Expert , Dec 01, 2023 Dec 01, 2023

Automation Blocks does not support the workarea, yet. You can set in/out but not the work area. I have just put it on my list of feature requests. 🙂

Votes

Translate

Translate
Community Expert , Apr 16, 2024 Apr 16, 2024

The Set Property of Sequence block of Automation Blocks 1.1.000 now actually supports properties "workarea in", "workarea out" and "workarea enabled". But note that these functions don't work reliably in Pr's scripting API (and I guess that's also the reason why they are not documented). See the API bug infos here:

https://docs.mamoworld.com/automation-blocks/block-reference/prSequence#work-area-enabled--in-point--out-point

 

Votes

Translate

Translate
Adobe Employee ,
Dec 01, 2023 Dec 01, 2023

Copy link to clipboard

Copied

I have no idea where that Scratch-like UI in your screenshots is coming from, but here's PProPanel, setting the work area:

 https://github.com/Adobe-CEP/Samples/blob/e60d6a22ef44d8eb4cca3904c35a0c050576b697/PProPanel/jsx/PPR...

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
Explorer ,
Dec 01, 2023 Dec 01, 2023

Copy link to clipboard

Copied

Hi Bruce,
Thanks for answering the question I didn't ask. 🙂 
Actually, I asked Mathias how to do this with "Automation Blocks" (it's a Première Pro plugin), not how to do it with ExtendScript. I even had the same PProPanel URL in my post. By the way, did you guys already solved the ExtrendScrip bug DVAPR-4239719, regarding this matter?

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
Explorer ,
Dec 01, 2023 Dec 01, 2023

Copy link to clipboard

Copied

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
Adobe Employee ,
Dec 01, 2023 Dec 01, 2023

Copy link to clipboard

Copied

Ahhh; I thought since you were posting on Adobe's forum, you were looking for a response from Adobe. And yes, I should have recognized Automation Blocks; sorry Mathias. 

DVAPR-4239719 will not be addressed until PPro has moved to UXP-based extensibility; no dates available. 

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 Expert ,
Dec 01, 2023 Dec 01, 2023

Copy link to clipboard

Copied

Automation Blocks does not support the workarea, yet. You can set in/out but not the work area. I have just put it on my list of feature requests. 🙂

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects

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
Explorer ,
Dec 01, 2023 Dec 01, 2023

Copy link to clipboard

Copied

🙏 Thanks a lot. Getting and setting the work area is going to make the Send-to-mediaencoder-block more useful. Can't wait to use it. 🙂

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 Expert ,
Dec 03, 2023 Dec 03, 2023

Copy link to clipboard

Copied

You are welcome :.-)

In the Send to Media Encoder Block, the "range" option can be set to "in and out point". So this would be the best workflow for now, since in and out point can be set with Automation Blocks.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects

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 ,
Apr 16, 2024 Apr 16, 2024

Copy link to clipboard

Copied

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 Expert ,
Apr 16, 2024 Apr 16, 2024

Copy link to clipboard

Copied

The Set Property of Sequence block of Automation Blocks 1.1.000 now actually supports properties "workarea in", "workarea out" and "workarea enabled". But note that these functions don't work reliably in Pr's scripting API (and I guess that's also the reason why they are not documented). See the API bug infos here:

https://docs.mamoworld.com/automation-blocks/block-reference/prSequence#work-area-enabled--in-point-...

 

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects

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 ,
Apr 16, 2024 Apr 16, 2024

Copy link to clipboard

Copied

Hello, the link mentions bugs in setting in and out point programmatically.
In my case, I just read them programmatically, so it is reliable enough.
Thanks!
Jonathan-David

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 Expert ,
Apr 17, 2024 Apr 17, 2024

Copy link to clipboard

Copied

LATEST

That's a good point 🙂

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects

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