Copy link to clipboard
Copied
I want to get the true value of width, height value,
When the zoom percentage of X and Y at the same, The width and the high value just I need.
But when the zoom percentage of X and Y is different, I need the big scaling value, to make my width...
The following example:
W=90.366 H=(98.465/0.64)*0.88
So,I need to know the scaling value,and whicha scaling value is bigger.
Thank you~~
Hi,
May check with below code:
var myGr = app.activeDocument.allGraphics;
alert(myGr.length)
for(i=0; i<myGr.length; i++)
{
alert("Image Name: " + myGr.itemLink.name + "\r" + "HorizontalScale: " + myGr.horizontalScale + "\r" + "verticalScale: " + myGr.verticalScale)
}
Regards
Siraj
Copy link to clipboard
Copied
Hi,
May check with below code:
var myGr = app.activeDocument.allGraphics;
alert(myGr.length)
for(i=0; i<myGr.length; i++)
{
alert("Image Name: " + myGr.itemLink.name + "\r" + "HorizontalScale: " + myGr.horizontalScale + "\r" + "verticalScale: " + myGr.verticalScale)
}
Regards
Siraj
Copy link to clipboard
Copied
BEGINNER_X thank you ~~
Copy link to clipboard
Copied
Hi Edny,
If anyone script really helpful for you, then click the correct answer.
This will motivate the developer, because they are spending their valuable timing for yours.
Regards
Siraj
Copy link to clipboard
Copied
In fact, there is a correct answer options. To change the format will not to be found, only a favorite option