Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-31-2016, 12:30 PM
mike1572 mike1572 is offline
Registered User
 
Join Date: Apr 2010
Posts: 10
Quick simple VBS question

What are the commands in VBS to pop open a message box requesting an input that can then be inserted into a string for use in the rest of the script?

Like a box that opens and states "please enter IP address" then once entered, and submitted, it is inserted into the strIPADDRESS.
Reply With Quote
  #2  
Old 08-31-2016, 01:16 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,403
Hi mike1572,

VBScript's function is InputBox():

Code:
InputBox(prompt[, title][, default][, xpos][, ypos][, helpfile, context])
SecureCRT's method is Prompt():

Code:
crt.Dialog.Prompt(message [, title [, default [, isPassword ]]])
More complete documentation for SecureCRT's method is found in the Scripting / Script Objects Reference / Dialog Object topic in SecureCRT's Help file.
__________________
Thanks,
--Brenda

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


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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:32 PM.