Checking the capitalization of a text item throws the error that the functionality is not available
I got this error
General Photoshop error occurred. This functionality may not be available in this version of Photoshop.\n- <no additional information available>
in Photoshop 27.4, but I am quite sure it happens with other versions too, while doing something like this in ExtendScript
if (textLayer.textItem.capitalization === TextCase.ALLCAPS) { }
Now, the problem got away after I clicked the button to make the paragraph text uppercase and then I clicked again to make it lowercase again (the original).
So, this must be a bug with ExtendScript or Photoshop. There’s probably a state-machine bug or sync problem. It’s like the ExtendScript API is not being updated correctly.
