Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting


Thread Tools Rate Thread Display Modes
Old 09-13-2008, 09:17 AM
morass morass is offline
Registered User
Join Date: May 2008
Posts: 3
alert in JScript


function main()
Above is a quite simple script, when I run it, there would be a prompt says "Microsoft JScript runtime error".

Is there an equivalence of "MsgBox" in JScript?

Thanks for any reply.
Reply With Quote
Old 09-15-2008, 09:57 AM
rtb rtb is offline
VanDyke Technical Support
Join Date: Aug 2008
Posts: 4,305
Hi Morass,

It appears from a quick web search that jscript doesn't have built-in message box functionality.

The easiest way to create message box functionality from within SecureCRT would be to use the built-in 'Dialog' object.

An example of this would be:

More information on this can be found in Help--> Help Topics--> ActiveX Scripting--> Script Objects Reference--> Dialog Object

Does this information help out?

VanDyke Software
Technical Support
Reply With Quote
Old 09-15-2008, 10:25 PM
morass morass is offline
Registered User
Join Date: May 2008
Posts: 3
Yes, thank you for your answer.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 04:00 PM.