Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Need Help Hiding / Masking Password Input For This Script

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,64825
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Need Help Hiding / Masking Password Input For This Script
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Need Help Hiding / Masking Password Input For This Script - 10/6/2008 6:41:21 AM   
  kennywhite


Posts: 8
Score: 0
Joined: 10/6/2008
Status: offline
Hello,

The script below is used to join a computer to a domain. It prompts for the Computer Name (which I do later want to generate automatically), a User Name and Password.

The script works perfectly. The only problem is that I would like a way to hide the input for the password. I thought there was a simple way of doing this, but I have come to believe that I was mistaken.




      


I have looked for days trying to find a solution that will work within this script. I was told once that there was a way to hide the entire input box, but I haven't found a way to actually do that.

I have tried every script that I can find to hide input text, but haven't been able to get any of them to work even by themself, let alone with my script.

The ONLY exception is this script that I found. I can get it work on its own, but when I tried to use it along with my script I just got a bunch of errors.


      

I would really rather not use the IE input box, but if it gets the job done I am totally ok with that.

Any help, advice, examples or whatever would be greatly appreciated.

THANKS!
 
 
Post #: 1
 
 RE: Need Help Hiding / Masking Password Input For This ... - 10/6/2008 7:52:26 AM   
  kennywhite


Posts: 8
Score: 0
Joined: 10/6/2008
Status: offline
I got it to work on my second attempt at joining those two scripts together. I would still like to find a way to do it without the IE input box, but I am happy at the moment! It would be helpful if someone could tell me a way to possible have the curser already in the input field of the IE box (does that make sense? Sorry my brain is a bit fried from 6 hours of messing with my script.)

Two other changes that I would like to add to this script is  1) Adding a computer description. I've got no idea on how to do this. and 2) Having the computer name be filled in automatically. I do have a pretty good idea of how to do this.

Here is the code that I ended up with today.


      

(in reply to kennywhite)
 
 
Post #: 2
 
 RE: Need Help Hiding / Masking Password Input For This ... - 10/6/2008 10:32:14 PM   
  mbouchard


Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
Take a look in the Window Load section below for examples on focusing on a text field and setting a value.


      

_____________________________

Mike

For useful Scripting links see the Read Me First stickey!

Always remember Search is your friend.

(in reply to kennywhite)
 
 
Post #: 3
 
 RE: Need Help Hiding / Masking Password Input For This ... - 10/7/2008 12:35:36 AM   
  kennywhite


Posts: 8
Score: 0
Joined: 10/6/2008
Status: offline
I tried adding in this line, but my script didn't like it very much

Password.focus

Thanks.


quote:

ORIGINAL: mbouchard

Take a look in the Window Load section below for examples on focusing on a text field and setting a value.


      

(in reply to mbouchard)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Need Help Hiding / Masking Password Input For This Script Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts