Sign in to follow this  
Followers 0
Kondro

Set a login and password as Constant

3 posts in this topic

Hi, I'm writeing a script to automate the install of a program. It requires creating several ODBC's. I had the whole thing automated but then my boss told me he does not want the user id and password part automated dureing the ODBC creation, so now i have it scripted to stop on those screens and wait for user input. the thing is that I have to create many ODBC's with the same user id and password during this particular instalation. im wondering if there is a way to script a msgbox for the user to input the credentials once and then send send them as a variable when needed inside the script for the rest of the session.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Sure. Use InputBox to let the user enter the credentials, save the input in variables and use them wherever needed.

Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Sure. Use InputBox to let the user enter the credentials, save the input in variables and use them wherever needed.

Thanks for the tip! That works perfect, dont mind me Im new, LOL.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0