Knowledgebase:
RunScript
Posted by Angham Al-Banawien, Last modified by Mohammad Rahhal on 30 July 2018 12:42 PM

Syntax

 Public Function RunScript(chartIndex As Integer, ScriptName As String) As Boolean

This function is used to run a VTL client script on a specific chart by the script name.

Parameters

Key  Description 
chartIndex The chart position on the chart windows. 0 means the  current chart, a value of type Integer
ScriptName The VTL client script name that wants to run, a value of type String.

Return value

Returns true if the script runs, otherwise returns false.

Sample

 
 Public Sub main()

    Dim res  

    res = RunScript(2,“ScriptName”)
    msgbox Res    

End Sub

 

 


See Also


Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions