Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

Re: Why does textInput.tracking not return a value ?

$
0
0

I have come across something like this with leading in the past.

 

There is a default value for leading ("(Auto)") that will return an error for

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

Only if leading is different from "(Auto)" one gets a value.

Which makes sense, I guess; by only explicitly storing a property if it is different from some defined default one can potentially save data.

 

One work-around is using a try-clause.


Viewing all articles
Browse latest Browse all 27456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>