Copy link to clipboard
Copied
Hello All,
I'm getting the script error PS 21.1.1 using os10.15.3. Any idea why?
Regards
David Pastirchak
Copy link to clipboard
Copied
The message seems clear enough. The value of “pixels” is 0.000105. Read the script to find out why it ends up set to that. You didn’t share anything that would help us tell you that.
Copy link to clipboard
Copied
Sorry maybe the value of mw. Anyway the script needs debugging and fixing.
Copy link to clipboard
Copied
Ok, This same script works on Photoshop 2017.1.3 OS 10.13.6. So I'm assuming I have to adjust my script.
this is the get pixel command.
-- get width and height into variables
tell current document
set mw to width
set mh to height
end tell
Any clue?
Copy link to clipboard
Copied
Here is the script working on a older system. What has changed in photoshop not allowing me to use this script with the lastest OS and Photoshop version?