Normally, scripts run from Netview log every command line to the command history. In addition, property editors open automatically when elements are created. However, you can turn off these behaviors temporarily in your script — see Preferences [SDK Guide]. This can speed up the performance of Netview scripts.
When using JScript in Netview pages, you may find that it does not release objects after it has finished with them. This happens because JScript's garbage collection is not predictable. However, you can force it to release objects by refreshing the Netview page.
Refresh button
Enumerated values defined in the object model are not evaluated properly in Netview scripts. Therefore, you should use the integer value directly.
For example, use this:
LogMessage "Closed in U: " & bClosed(0)(0) LogMessage "Closed in V: " & bClosed(1)(0)
Instead of this:
LogMessage "Closed in U: " & bClosed(siUDirection)(0) LogMessage "Closed in V: " & bClosed(siVDirection)(0)
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License