Open Script1 script,
Go To Action Properties,
In Action Properties pop up window, click on Parameters tab
Click on '+' mark against Input parameters
Enter 'Val1' in Name text field
Same thing u defined in Val2 in Output Parameters section.
Now Use following code to pass and get value from Script1
Dim Val1,Val2
Val1=123
RunAction "Scrip1", oneIteration,Val1, Val2
Msgbox Val2.
To read value for Val1, then use the following code in Script1
Msgbox Parameter("Val1")
What are the steps we have to follow to add new object(Example:
button, text box...) in script and in repository by using script?