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 07-28-2011, 03:07 AM
night_hawke night_hawke is offline
Registered User
 
Join Date: Mar 2011
Posts: 19
User input Box

how can i have a script ask a user for their ip address then use that in a command later?
Reply With Quote
  #2  
Old 07-28-2011, 03:34 AM
seesea's Avatar
seesea seesea is offline
Registered User
 
Join Date: Jun 2010
Posts: 20
Help > Help Topics > ActiveX Scripting > Script Objects Reference > Dialog Object

Example:

Code:
Dim ip
ip = crt.Dialog.Prompt("Enter your ip:", "My Script", "127.0.0.1")

' Feel free to use the variable "ip"
...
Reply With Quote
  #3  
Old 07-28-2011, 04:17 AM
night_hawke night_hawke is offline
Registered User
 
Join Date: Mar 2011
Posts: 19
Quote:
Originally Posted by seesea
Help > Help Topics > ActiveX Scripting > Script Objects Reference > Dialog Object

Example:

Code:
Dim ip
ip = crt.Dialog.Prompt("Enter your ip:", "My Script", "127.0.0.1")

' Feel free to use the variable "ip"
...
THANK YOU Seesea! that was very helpful.
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 07:31 AM.