(Formerly known as GetHotspotProperty, which is now obsolete)
Hotspot.GetProperty(string property)
Returns the custom property setting of the PROPERTY for the hotspot.
This command works with Number properties (it returns the number), and with Boolean
properties (returns 1 if the box was checked, 0 if not).
Use the equivalent GetTextProperty function to get a text property.
Example:
if (hotspot[1].GetProperty("Value") > 200)
Display("Hotspot 1's value is over 200!");
will print the message if hotspot 1 has its "Value" property set to more than 200.
See Also: Hotspot.GetTextProperty
|