getProperty("name") for a component

Within a Script Module I would like to be able to retrieve the current value for a “named” property.

ie: The ability to do this
def some_module(device, prop):
window = getWindow(“Window name”)
_device = window.rootContainer.getComponent(device)
_property = _device.getProperty(prop)

You can, its called getPropertyValue(propName)

This is documented in the user manual - scroll down to the bottom of most components that support dynamic properties to find the scripting functions (for example, the Text Field)

Cool,

Thanks