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

customize transitions with scripts in Premiere pro

Community Beginner ,
May 18, 2023 May 18, 2023

Copy link to clipboard

Copied

I added transitions in this way.

 

 

  app.project.sequences[0].videoTracks[0];
    var transition = "Push";
    app.enableQE();
    var qeSequence = qe.project.getActiveSequence(0);
    var vanillaSequence = app.project.activeSequence;
    var qeTrackOne = qeSequence.getVideoTrackAt(0);
    var vanillaTrackOne = vanillaSequence.videoTracks[0];
    var transitionToApply = qe.project.getVideoTransitionByName(transition);
    var item = qeTrackOne.getItemAt(0);
    var item1 = qeTrackOne.getItemAt(1);
    item.addTransition(transitionToApply, false, '00;00;00;08');
    item1.addTransition(transitionToApply, false, '00;00;00;08');

 

 

I want to access Effect Controls and select "Reverse" select true.
is there a way to access the Effect Controls of a push transition with a script?

 

NguynHuPhc_0-1684400361879.png

Thank you very much.

 

 

TOPICS
SDK

Views

414

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

Community Beginner , May 21, 2023 May 21, 2023
   app.project.sequences[0].videoTracks[0];
    var transition = "Push";
    app.enableQE();
    var qeSequence = qe.project.getActiveSequence(0);
    var qeTrackOne = qeSequence.getVideoTrackAt(0);
    var transitionToApply = qe.project.getVideoTransitionByName(transition);
    var item = qeTrackOne.getItemAt(0);
    var item1 = qeTrackOne.getItemAt(1);
    item.addTransition(transitionToApply, false, '00;00;00;08');
    item1.addTransition(transitionToApply, false, '00;00;00;08');
    var tran
...

Votes

Translate

Translate
Community Beginner ,
May 21, 2023 May 21, 2023

Copy link to clipboard

Copied

   app.project.sequences[0].videoTracks[0];
    var transition = "Push";
    app.enableQE();
    var qeSequence = qe.project.getActiveSequence(0);
    var qeTrackOne = qeSequence.getVideoTrackAt(0);
    var transitionToApply = qe.project.getVideoTransitionByName(transition);
    var item = qeTrackOne.getItemAt(0);
    var item1 = qeTrackOne.getItemAt(1);
    item.addTransition(transitionToApply, false, '00;00;00;08');
    item1.addTransition(transitionToApply, false, '00;00;00;08');
    var transition1 = qeTrackOne.getTransitionAt(1);
    transition1.setReverse(true)
    var transition3 = qeTrackOne.getTransitionAt(3);
    transition3.setReverse(true)

I have resolved it with this code. I really hope it will help someone.

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 ,
May 22, 2023 May 22, 2023

Copy link to clipboard

Copied

Great find, this might also be helpful for the QE Dom:

https://github.com/aenhancers/types-for-adobe-extras

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 ,
Jul 17, 2023 Jul 17, 2023

Copy link to clipboard

Copied

thank you so much

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
Participant ,
Dec 17, 2023 Dec 17, 2023

Copy link to clipboard

Copied

dumb question, 

qeTrackOne.getTransitionAt(3);

How i can find LAST added transition number? in this case it's "3"

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 17, 2023 Dec 17, 2023

Copy link to clipboard

Copied

LATEST

you'll want

qeTrack.numTransitions

 

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