Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

Problem with TextItem.font property

$
0
0

Hi,

 

In the following PSD there are two font layers.

FontProblem.psd - Google Drive

 

The following works correctly on the first font layer, "InputHintWorking".

alert(app.activeDocument.activeLayer.textItem.font)

 

However, gives the following error on the second font layer, "InputHintBroken".

Error 8500: The requested property does not exist.

 

However, as far as I can tell, there is no difference between the two layers.

 

Thanks for any guidance you can provide.

 

Apurva


Viewing all articles
Browse latest Browse all 12244

Trending Articles