Philip_Baird
11 years agoCommunity Expert
BuiltIn::InputQuery() does not set Value
Hi, I have the following function: function testInputQuery() { var s = "abc"; if( BuiltIn.InputQuery( "Test Complete", "Enter Value", s ) ) { Log.Message( s...
- 11 years ago
Hi Phil,
Let me quote the "InputQuery Method" article:
Since JScript, C++Script and C#Script do not support the out parameters, the InputQuery function does not work in JScript, C++Script and C#Script projects. You can use InputBox as a workaround.
As you are using JScript, the following should work for you:
var s = "abc";
Log.Message(BuiltIn.InputBox ("Test Complete", "Enter Value", s));