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
> 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.
Copy link to clipboard
Copied
> 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.