• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Redefine Scaling to 100%

Community Expert ,
Jan 20, 2025 Jan 20, 2025

Copy link to clipboard

Copied

Hi everyone,

I am retrofitting a document. All the objects when selected show an annoying scaling percentage number.

I would like to script through the whole document and reset all objects to 100%. I do not want to do this one object at a time. A contributor named vinny in 2017 offered this script solution:

scaledElements = app.activeDocument.allPageItems;

for (i = 0; i < scaledElements.length; i++) {

    scaledElements.redefineScaling();

}

But it doesn't work in 2025. Can you help edit it?

 

Mike Witherell
TOPICS
How to

Views

64

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Jan 20, 2025 Jan 20, 2025

Copy link to clipboard

Copied

Hi Mike,

Try this (I haven't tested it though):

scaledElements = app.activeDocument.allPageItems;
for (i = 0; i < scaledElements.length; i++) {
    if (scaledElements[i].hasOwnProperty("redefineScaling")) scaledElements[i].redefineScaling();
}

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 21, 2025 Jan 21, 2025

Copy link to clipboard

Copied

LATEST

Thank you so much for that edit, Ariel. I hope you are well!

Mike Witherell

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines