Xshell Forum

Type mismatch for javascript: xsh.Screen.WaitForStrings

Last post: Thursday, August 11, 2016 12:52 AM by Support, 2 reply

 
Tuesday, January 12, 2016 3:05 AM - JALL

Type mismatch for javascript: xsh.Screen.WaitForStrings

 
Dear support term,
There is a mistake when I execute the following javascript:

function Main()
{
var arr = new Array("FILEA", "FILEB");
xsh.Screen.Send("ls");
xsh.Screen.Send(String.fromCharCode(13));//enter

var result = xsh.Screen.WaitForStrings(arr, 5000);
}


The mistake says: type mismatch.

Hope your help. THANKS.

Program Ver. : Xshell 5
Friday, January 29, 2016 11:44 PM - Support

Re: Type mismatch for javascript: xsh.Screen.WaitForStrings

 
Thank you for this report. We have identified an issue in the JS script function. We will release a fix as soon as possible.

Technical Support

Like us on Facebook
Follow us on Twitter
Visit our blog Blog
Thursday, August 11, 2016 12:52 AM - Support

Re: Type mismatch for javascript: xsh.Screen.WaitForStrings

 
This issue was fixed in Xshell 5 Build 1005 (Xmanager Enterprise 5 Build 0987) which was released on August 8, 2016.

Technical Support

Like us on Facebook
Follow us on Twitter
Visit our blog Blog