Mon Jan 10, 2022 10:47 am
Version:
17.4.3
Issue:
Unable to use "Link Clips" in ResolveScript.
Request:
Enable the function "MenuBar > Clip > Link Clips" in scripts.
I would like to see the following code.
- Code: Select all
local projectManager = resolve:GetProjectManager()
local project = projectManager:GetCurrentProject()
local timeline = project:GetCurrentTimeline()
--[[
The above are the implemented functions
The following are unimplemented (desired) functions
]]
--[[
Timeline:GetCurrentVideoItem(trackIndex) --> TimelineItem
Timeline:GetCurrentAudioItem(trackIndex) --> TimelineItem
Timeline:Link([timelineItems]) --> Bool
Timeline:UnLink([timelineItems]) --> Bool
]]
local linkItems = {
timeline:GetCurrentVideoItem(1),
timeline:GetCurrentVideoItem(2),
timeline:GetCurrentAudioItem(1),
timeline:GetCurrentAudioItem(2),
}
timeline:Link(linkItems)
timeline:UnLink(linkItems)
Last edited by
qhnu-bd on Tue Feb 01, 2022 1:18 pm, edited 4 times in total.