Skip to main content
Known Participant
April 24, 2026
Answered

No option to create shortcut for Clear Transformation

Looking to create a keyboard shortcut for Clear Transformations and it looks like it isn’t listed as an option. Am I just missing something?

Additionally does anyone know of a script that would reset all object transformations in a document?

Best,

Matt

 

    leo.r
    leo.rCorrect answer
    Community Expert
    April 24, 2026

    @Little_Matty it’s under Panel Menus:

     

     

     

     

     

    this one:

     

    12 replies

    Known Participant
    April 24, 2026

    Forums will only let me mark one reply as best answer but thanks ​@leo.r ​@rob day and everyone else for the help!

    -Matt

    Translate
    rob day
    Community Expert
    Community Expert
    April 24, 2026

    Additionally does anyone know of a script that would reset all object transformations in a document?

     

    Hi ​@Little_Matty , Maybe this?

     

    var p = app.activeDocument.allPageItems;
    for (var i = 0; i < p.length; i++){
    p[i].clearTransformations()
    };

     

    Translate
    Known Participant
    April 24, 2026

    Worked like a charm. Love this community.

    Translate
    leo.r
    Community Expert
    Community Expert
    April 24, 2026

    does anyone know of a script that would reset all object transformations in a document?

     

    You’d use the “clear transformations” command in AppleScript or its equivalent in JavaScript. I guess it’s clearTransformations(). I tried to search for it in the JS API but couldn’t find as the search is rather rudimentary there:

    https://www.indesignjs.de/extendscriptAPI/indesign-latest/#$.html

     

     

    Translate
    leo.r
    Community Expert
    Community Expert
    April 24, 2026

     

    Translate
    leo.r
    Community Expert
    Community Expert
    April 24, 2026

    p.s. to search for the desired command (some of which are not easy to find), click Show Set, then search in the text editor.

    Translate
    Known Participant
    April 24, 2026

    Great tip! The plot thickens, it shows up in the set but it looks like the Object Editing menu is super paired down from what it lists and unfortunately isn’t included.

     

    Translate
    Legend
    April 24, 2026

    Looking from the plugin side, some of the transform related actions are in the palette menu, e.g. kClearTransformationsActionID is in kPaletteMenusTransformActionArea .

    Watch out for a similar Transform: grouping over there.

    Translate