I have a VBS application with a webbrowser control. In this control I open an HTML file which contains JavaScript. This JavaScript just sets a variable to value, like this:
var clicked = 3;
Do I have any possibilty to use this variable in my VBS application? Can I return the value?
Thank you!
in my Webbrowswer control I use the event DocumentComplete? And in this event I say:
Dim oScript As Object
set myVariables = oScript.clicked
?
If I have more than one global variable, how can I chose the right one?
And If I set this variable in javascript in an OnClick event the event "DocumentComplete" is not the right one, or?
And the line Dim oScript As Object
is not accepted in Viszal Basic Script?
Thank you for your help!