View Single Post
  #4  
Old 10-14-2019, 12:40 PM
ashiosee ashiosee is offline
Registered User
 
Join Date: Oct 2019
Posts: 24
Quote:
Originally Posted by seesea View Post
I found out that js not work only, but it is sure that js script can get the option object, what a pity I don't know how to operate it. Is that js is not recommended and is not supported well in CRT scripting? I prefer to use js because all of the scripts in our department are js, it is a big project to change.
Arrays in JS are objects, and cannot be converted into an array that is compatible with the ActiveX Variant that the scripting API in SecureCRT requires.

I will capture a feature request for the ability to support jscript arrays in SecureCRT's scripting API, but since you're not going to be able to upgrade even if this feature becomes available, you're stuck with using VBScript or Python.
__________________
--Allen

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote