Hi,
Yes, there is an array that stores the variables names and values.
Here is how to access the variables of type "integer":
- Code: Select all
For i = 1 To WindowObject.Variables.Count
MsgBox "Variable name: " + WindowObject.Variables.Item(i).Name
MsgBox "Variable value: " + CStr(WindowObject.Variables.Item(i).Value)
Next
And here is how to access the variables of type "variant":
- Code: Select all
For i = 1 To WindowObject.VariablesVariant.Count
MsgBox "Variable name: " + WindowObject.VariablesVariant.Item(i).Name
MsgBox "Variable value: " + CStr(WindowObject.VariablesVariant.Item(i).Value)
Next
If you modify the value of some variables, the hotspots visibility should be automatically updated accordingly. However, if it does not, you can force the update by executing the following code:
- Code: Select all
Action.UpdateHotspotsState
Best regards,
GM-Support