Skip to main content
Inspiring
September 30, 2026
Answered

Change sequence dimensions with a script

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.

    CORCTON34033231
    CORCTON34033231Correct 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/

    14 replies

    Inspiring
    September 30, 2026

    ​@CORCTON34033231 If I want to do more scripts, as I don’t know anything about coding, what would be my best solution? Automationblocks? Claude free helps but it lacks of knowledge and at the end of the day I waste time and credits.

    Thanks.

    Translate
    CORCTON34033231
    Community Expert
    Community Expert
    September 30, 2026

    Hi Maxime, good news — you don't need to code at all for this. Premiere Pro has Automation Blocks, a built-in no-code automation feature: you pick ready-made blocks (or describe what you want) and it runs automations like cloning a sequence and changing its settings for you. There's even a related thread here in the forum: "Automation Blocks - Clone a sequence, change its sequence settings". Definitely worth a look before writing any scripts yourself.

    Translate
    Inspiring
    September 30, 2026

    Thank you ​@CORCTON34033231. But in the thread you’re referring to, Mathias says it can’t be done via scripting!

    Translate
    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/

    Translate
    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.

    Translate
    Community Manager
    September 30, 2026

    That’s why you’re a member of this community, ​@maximeb24899079. We have amazing experts like ​@CORCTON34033231 to help and information here not even AI can figure out. :-)

     

    Cheers,
    Kevin

    Translate