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

Set sequence's timeline zoomlevel by extendscript

Community Beginner ,
Nov 10, 2023 Nov 10, 2023

Copy link to clipboard

Copied

Hi,

 

I would like to automatically set the sequence's timeline zoomlevel to defined values via extendscript, e.g. the inPoint and the outPoint of the sequence which is used for rendering.

 

I did not find any way to do that. The only workaround I found is sending an event as if the user pressed the + key on his keyboard to zoom a little bit into the scene:

 

function events_sendPlusKey()
{
var filePath = <path_to_local_scriptDirectory> + "keySimulation_plus.vbs"

if(!files_fileExists(filePath))
{
var str = 'Set WshShell = WScript.CreateObject("WScript.Shell")\
WshShell.SendKeys "{+}"';
files_writeTextFile(filePath, str);
}
files_executeFile(filePath);
$.sleep(500);
}

 

Is there a way to set the timeline's zoomlevel to a dedicated timeline area?

Thanks in advance

TOPICS
SDK

Views

154
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 , Nov 10, 2023 Nov 10, 2023

> Is there a way to set the timeline's zoomlevel to a dedicated timeline area?

No; setting the CTI is the extent of API control available,  over the timeline UI.

Votes

Translate
Adobe Employee ,
Nov 10, 2023 Nov 10, 2023

Copy link to clipboard

Copied

LATEST

> Is there a way to set the timeline's zoomlevel to a dedicated timeline area?

No; setting the CTI is the extent of API control available,  over the timeline UI.

Votes

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