Skip to main content
Known Participant
April 24, 2026
Answered

No option to create shortcut for Clear Transformation

  • April 24, 2026
  • 5 replies
  • 48 views

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

 

    Correct answer leo.r

    @Little_Matty it’s under Panel Menus:

     

     

     

     

     

    this one:

     

    5 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

    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()
    };

     

    Known Participant
    April 24, 2026

    Worked like a charm. Love this community.

    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

     

     

    leo.r
    Community Expert
    Community Expert
    April 24, 2026

     

    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.

    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.

     

    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.