Skip to main content
New Participant
March 13, 2025
Answered

Creating adjustment layers with CEP (extendscript)

  • March 13, 2025
  • 2 replies
  • 716 views

I'm trying to figure out how CEP extensions like Premiere Composer (by Mister Horse) manage to add adjustment layers in the active sequence (to create transition templates, for example):


Indeed, it seems that it is
not possible to add a new adjustment layer with Extendscript.

A workaround would then be to:

  1. Manually create a sequence containing only an adjustment layer (with the desired effects and properties). 
  2. Clone this sequence (with Extendscript)
  3. Import this sequence in the active sequence (with Extendscript)

    This would be
    nearly identical to adding an adjustment layer directly — except that adjustments layers contained inside a sub-sequence (i.e. imported as a nest) do not work: they do not affect the tracks located beneath them, like an adjustment layer is supposed to.

    The solution would then be to use the "insert sequence as individual clips" mode:



    By doing so, the sequence containing only an adjustment layer would be inserted as... a single adjustment layer!

    And it turns out this 
    does indeed work when performed manually (by dragging and dropping the sequence from the project browser to the active sequence).

    However, even when this "insert as individual clips" mode is activated in the UI, importing a sequence with Extendscript still results in a nested sequence being added to the track (instead of adding only the content of this sequence — in this case, an adjustment layer).

    How could I proceed?
    Thanks
 
Correct answer Bruce Bullis

> How could I proceed? 

Not sure; your experimentation seems sound, and we don't know how Mr. Horse is accomplishing what they do. 

2 replies

Bruce Bullis
Community Manager
Bruce BullisCommunity ManagerCorrect answer
Community Manager
March 14, 2025

> How could I proceed? 

Not sure; your experimentation seems sound, and we don't know how Mr. Horse is accomplishing what they do. 

cdxprodAuthor
New Participant
March 14, 2025

After cloning the sequence containing the adjustment layer, maybe there is a way to move this layer to another track (in another sequence).
Is it possible with extendscript?

Bruce Bullis
Community Manager
Community Manager
March 14, 2025

No.

MyerPj
Community Expert
March 13, 2025

I don't know the answer on CEP, but I have used transition packs and the like, and one needs to turn that button off and also remove the source patching for track 1, so the sample video in the transition sequence does not get imported.