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

Please update the Premiere Pro Scripting Guide

New Here ,
Sep 01, 2021 Sep 01, 2021

Copy link to clipboard

Copied

I am creating a type definition file for the latest Premiere Pro version based on the Types-for-Adobe repository(https://github.com/bbb999/Types-for-Adobe).

However, Premiere Pro Scripting Guide(https://ppro-scripting.docsforadobe.dev) doesn't seem to keep up with at least the latest version.

 

Could you please update the functions listed in the type definition file below?

 

https://github.com/Adobe-CEP/Samples/blob/master/PProPanel/jsx/PremierePro.15.0.d.ts

 

TOPICS
SDK

Views

434

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

Adobe Employee , Sep 02, 2021 Sep 02, 2021

The PPro Scripting Guide receives frequent updates. 


> Could you please update the functions listed in the type definition file below?

That file references every API function, most of which are already documented. Specifically, for which functions are you requesting additional info?

 

Votes

Translate

Translate
Adobe Employee , Sep 13, 2021 Sep 13, 2021

Okay, I've updated the TypeScript definitions in the sample; hope this is helpful. Some answers to your questions, in case they're useful to others.

> # Application object
> ## setEnableTranscodeOnIngest method
> What return type?

 

Boolean, indicating enablement state.

 

> # Anywhere object
> ## listProductions method
> It says that the sample and the document are different.

 

?! Both the sample and the documentation indicate that an array of open Productions is returned. 


> # Encoder object
> ## get

...

Votes

Translate

Translate
Adobe Employee ,
Sep 02, 2021 Sep 02, 2021

Copy link to clipboard

Copied

The PPro Scripting Guide receives frequent updates. 


> Could you please update the functions listed in the type definition file below?

That file references every API function, most of which are already documented. Specifically, for which functions are you requesting additional info?

 

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
New Here ,
Sep 10, 2021 Sep 10, 2021

Copy link to clipboard

Copied

# Application object
## setEnableTranscodeOnIngest method
What return type?

# Anywhere object
## listProductions method
It says that the sample and the document are different.
Which return value is correct?

# Encoder object
## getExporters method
No document.
What type of array is return?

# Properties object
## clearProperty method
No document.

# ProjectItem object
## getAudioChannelMapping attribute
readonly or writable?

## getOverrideColorSpaceList attribute
readonly or writable?

## getFootageInterpretation method
Whet type is the vrHorizontalView and vrVerticalView?


# Component object
What is the stream type?

## properties attribute
What is ComponentParamCollection in the document.

# ComponentParam
## getValue method
What type is return?

## getValueAtKey method
What is the component parameter stream?

## getValueAtTime method
What is the component parameter stream?

## setInterpolationTypeAtKey method
What type is interpretationType.
And, Is the method name is correct?

## setValue method
What type is value?

## setValueAtKey
What type is value?

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 ,
Sep 13, 2021 Sep 13, 2021

Copy link to clipboard

Copied

LATEST

Okay, I've updated the TypeScript definitions in the sample; hope this is helpful. Some answers to your questions, in case they're useful to others.

> # Application object
> ## setEnableTranscodeOnIngest method
> What return type?

 

Boolean, indicating enablement state.

 

> # Anywhere object
> ## listProductions method
> It says that the sample and the document are different.

 

?! Both the sample and the documentation indicate that an array of open Productions is returned. 


> # Encoder object
> ## getExporters method
> No document.

> What type of array is return?

That's confusing, because I do see the documentation, and it's correct; "Returns an array of available exporters, or null if no exporters are available."

 

> # Properties object
> ## clearProperty method


Documented. Only param = string indicating which property to clear. No return. 

 

> # ProjectItem object
> ## getAudioChannelMapping attribute
> readonly or writable?

 

Read-only. A 'get' function should never, ever change that which is retrieved; PPro offers setAudioChannelMapping(), for making changes. 

 

> ## getOverrideColorSpaceList attribute
> readonly or writable?

 

As above; no get function should modify that which is retrieved.

 

> ## getFootageInterpretation method
> Whet type is the vrHorizontalView and vrVerticalView?

 

Integers.


> # Component object
> What is the stream type?

 

That depends on the component being accessed.

 

> ## properties attribute
> What is ComponentParamCollection in the document.

 

A collection of parameters used by that component.

 

> # ComponentParam
> ## getValue method
> What type is return?

> ## getValueAtKey method
> What is the component parameter stream?

> ## getValueAtTime method
> What is the component parameter stream?

 

Those all depend on the component stream being accessed.

 

> ## setInterpolationTypeAtKey method
> What type is interpretationType.


Integer; see docs


> And, Is the method name is correct?

Yes.

 

> ## setValue method
> What type is value?
> ## setValueAtKey
> What type is value?


Those depend on the parameter stream being modified.

 

 

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