I originally posted this question in a previous thread (thread448-1301392), and I got the answer I needed at that time. I then expanded my use of child scripts to involve a "password script" (thread448-1317148) used for logging into around 50 Nortel and Lucent switches via telnet, and now I am in need of assistance... again...
I currently use s0-s9 to pass variables from one script to another. I start off with a switch login script. That script opens a script that has the username and password needed to access the terminal, and passes that string back to the original script. I use the "password" script because when I change my password, I dont want to change 50+ switch scripts with the new password. I am lazy like that...lol
I am now in the process of migrating my voicemail (Glenayre and Comverse) scripts away from having the username and password loaded in the same script, and over to the same style of script I use for accessing the Nortel and Lucent MTSO's. The only problem is that I utilize more than the available number of username/password combinations (5 since I need 2 string variables per system, and they don't all use the same username/password like the MTSO's)
To make the the problem at hand a little more complex, if that was even possible, is that I also use a "change password" script that will load a dialog box and will change the designated variables (username and/or password, if desired) in the current password script to the new username and/or password. I also will be distributing all of my scripts to about 60-100 people who will need to enter their own username and password, so I have created a "new user" script that will insert their username and password where needed. What I need to know is, how can I have the ability to pass any combination of around 100 different strings all stored in the same child script to the parent script????
I currently use s0-s9 to pass variables from one script to another. I start off with a switch login script. That script opens a script that has the username and password needed to access the terminal, and passes that string back to the original script. I use the "password" script because when I change my password, I dont want to change 50+ switch scripts with the new password. I am lazy like that...lol
I am now in the process of migrating my voicemail (Glenayre and Comverse) scripts away from having the username and password loaded in the same script, and over to the same style of script I use for accessing the Nortel and Lucent MTSO's. The only problem is that I utilize more than the available number of username/password combinations (5 since I need 2 string variables per system, and they don't all use the same username/password like the MTSO's)
To make the the problem at hand a little more complex, if that was even possible, is that I also use a "change password" script that will load a dialog box and will change the designated variables (username and/or password, if desired) in the current password script to the new username and/or password. I also will be distributing all of my scripts to about 60-100 people who will need to enter their own username and password, so I have created a "new user" script that will insert their username and password where needed. What I need to know is, how can I have the ability to pass any combination of around 100 different strings all stored in the same child script to the parent script????