I am wondering if there is any way to get the name of a property given one of its synonyms.
Example of "vis" get "visible".
Someone has a different idea than what I came up with.
Since what I came up with is to go to the dictionary and filter the properties and go one by one, see the ones that have a synonym and put all this in a function like the following
Code: Select all
function getSynonyms pName
change pName
case "rectangle"
return "rect"
break
case "textdata"
return "text"
break
case "vis"
return "visible"
break
default
return pName
end switch
end getSynonyms