Skip to main content
Inspiring
September 30, 2026
Answered

Change sequence dimensions with a script

  • September 30, 2026
  • 2 replies
  • 20 views

Hi everyone.
I’m trying to create a script for an automation where I need to change the frame size of the active sequence, basically going from 1920x1080 to 1080x1080. Can it be done with the current API?
Thanks.

    Correct answer CORCTON34033231

    Hi Maxime,

     

    You can do this with ExtendScript: grab the active sequence's settings, change videoFrameWidth / videoFrameHeight, then apply them back with setSettings().

     

    var seq = app.project.activeSequence;

    if (seq) {

        var settings = seq.getSettings();

        settings.videoFrameWidth = 3840;

        settings.videoFrameHeight = 2160;

        seq.setSettings(settings);

    }

     

    Note that frameSizeHorizontal / frameSizeVertical are read-only, so setSettings() is the way to apply the change. Save the snippet as a .jsx file and run it via File > Scripts > Run Script File.

     

    Reference (Premiere Pro Scripting Guide – Sequence object, documents getSettings()/setSettings() and the videoFrameWidth/videoFrameHeight properties):

    https://ppro-scripting.docsforadobe.dev/sequence/sequence/

    2 replies

    CORCTON34033231
    Community Expert
    CORCTON34033231Community ExpertCorrect answer
    Community Expert
    September 30, 2026

    Hi Maxime,

     

    You can do this with ExtendScript: grab the active sequence's settings, change videoFrameWidth / videoFrameHeight, then apply them back with setSettings().

     

    var seq = app.project.activeSequence;

    if (seq) {

        var settings = seq.getSettings();

        settings.videoFrameWidth = 3840;

        settings.videoFrameHeight = 2160;

        seq.setSettings(settings);

    }

     

    Note that frameSizeHorizontal / frameSizeVertical are read-only, so setSettings() is the way to apply the change. Save the snippet as a .jsx file and run it via File > Scripts > Run Script File.

     

    Reference (Premiere Pro Scripting Guide – Sequence object, documents getSettings()/setSettings() and the videoFrameWidth/videoFrameHeight properties):

    https://ppro-scripting.docsforadobe.dev/sequence/sequence/

    Inspiring
    September 30, 2026

    That’s awesome, thank you!
    I don’t code or write scripts at all, so I asked Claude for some help, but it couldn’t figure this out.