Get Error 8500 With My Script

Discussion of actual or possible Photoshop Scripting Bugs, Anomalies and Documentation Errors

Moderators: Tom, Kukurykus

agh6200
Posts: 1
Joined: Tue Jun 13, 2023 1:15 pm

Get Error 8500 With My Script

Post by agh6200 »

when i run my script on sample png file i get following error:

Code: Select all

Error 8500: The requested property does not exist.
Line: 609
->  var list = docDesc.getList(stringIDToTypeID("histogram"));

how can i fix this error?
please note that this script written by my friend and it working fine in my friend PC but above error is received on other PCs!
please run following script on attached PNG sample file only.
https://drive.google.com/file/d/1aYQTyK ... mhw4GlshEm
Attachments
editt2.rar
(5.52 KiB) Downloaded 274 times
4 copy.png
4 copy.png (584.85 KiB) Viewed 9368 times