Inactive text color & getText method

Now when a text control is inactive the text color will be the NA one
from the profile.
Also opened getText up as a script method.