Often, a script calls other scripts, in the same way as it calls built-in commands.
In the below example, called scripts are highlighted.
Public Shared Sub MouseWheel(ByVal App As IShellApp, ByVal Page As IPageDisp)
Dim delta As Double = App.GetWheelDelta()
If AddInUtils.IsControlKeyPressed Then
Page.ViewZoomWheel(delta)
ElseIf AddInUtils.IsShiftKeyPressed Then
Page.ViewZoomImage(delta)
Else
Fred.ScrollWnd()
End If
End Sub
It is rather difficult distinguish calls to GN4 built-in commands, VB.NET built-in commands, from calls to scripts.
Some instructions can be found in Distinguishing calls.