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

Sequence.setPlayerPosition() is not working

Community Beginner ,
Dec 23, 2020 Dec 23, 2020

Copy link to clipboard

Copied

 

2.PNG캡처2.PNG

I want to use a script to move the timeline. 

 

It worked in 13 version, but after updating to 14.7 version, the setPlayerPosition () does not work.

 

Please help me.

 

TOPICS
Error or problem , How to , SDK

Views

389

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 , Dec 24, 2020 Dec 24, 2020

Between 13.x and 14.x, the only thing that changed was PPro defaulting to New World scripting. One of the few differences between Old World and New World, is that in the New World, implicit type coersion doesn't work.

However, in the snippet above, '0' should work for ticks as well, which makes me wonder...is app.project.activeSequence null, when you execute the snippet?

 

setPlayerPosition() continues to work correctly, in PProPanel, when there is an active sequence: 

 

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

Votes

Translate

Translate
Adobe Employee ,
Dec 24, 2020 Dec 24, 2020

Copy link to clipboard

Copied

LATEST

Between 13.x and 14.x, the only thing that changed was PPro defaulting to New World scripting. One of the few differences between Old World and New World, is that in the New World, implicit type coersion doesn't work.

However, in the snippet above, '0' should work for ticks as well, which makes me wonder...is app.project.activeSequence null, when you execute the snippet?

 

setPlayerPosition() continues to work correctly, in PProPanel, when there is an active sequence: 

 

https://github.com/Adobe-CEP/Samples/blob/ff7e2afab20eca144dcad0bb8d893d8b275ad38e/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