In this example, the commands associated with a "major" hotspot are returned to the ret variable. If any of the arguments that describe this hotspot are not accurate (for example, if the hotspot was defined to match case), a runtime error is returned. A line continuation character (a space followed by an underscore) is used to break the long line.
Sub MajorHotspotDemo ()
Dim ret As String
ret = Session.GetHotspotCommandsEx("major", _
rcMatchCase, rcAnyRow, rcAnyCol)
End Sub