Search found 3 matches

by vungocduchd
Fri Jun 17, 2022 4:19 pm
Forum: Help Me
Topic: "NaN px" Return When Get Document Size
Replies: 5
Views: 4561

Re: "NaN px" Return When Get Document Size

Hi, i just found a solution :D

These images had problem with resolution. I changed resolution from 1 to 72 Pixels/Inch

Scripts works!

Thank you ❤
by vungocduchd
Sun Jun 12, 2022 12:43 pm
Forum: Help Me
Topic: "NaN px" Return When Get Document Size
Replies: 5
Views: 4561

Re: "NaN px" Return When Get Document Size

Sorry , here is the image
by vungocduchd
Sun Jun 12, 2022 11:35 am
Forum: Help Me
Topic: "NaN px" Return When Get Document Size
Replies: 5
Views: 4561

"NaN px" Return When Get Document Size

I got the problem when trying to get width and height of active document. And change Unit to Pixel doesn't work I just open 1 png image into photoshop then run the script. Alert width and height and got "NaN px" Here is my simple code: var startRulerUnits = app.preferences.rulerUnits; app....