I am inputting a lot of data want to know if I can take data that i enter and have it automatically used later in the script. Also I have a spot where i need it to wait for me to enter data but it is putting a space in and i have to hit return and then input my data. Is there a way so it will not put the space in? Here is part of my script I am talking about.
crt.Screen.WaitForString "TN "
crt.Screen.Send " "
crt.Screen.WaitForString "DES "
crt.Screen.Send "TOR_PVR_COT" <- here i enter a 4 digit number after the COT and would like to have script enter it below
crt.Screen.WaitForString "CUST "
crt.Screen.Send "0" & chr(13)
crt.Screen.WaitForString "NCOS "
crt.Screen.Send " " <-- here is where I have to enter a number but it is putting in a space
crt.Screen.WaitForString "RTMB "
crt.Screen.Send " " <-- if I leave the quotes together the script hangs so i have to have the space between the quotes
crt.Screen.WaitForString "PRDN "
crt.Screen.Send "205" <- enter the 4 digit number after the 205
crt.Screen.WaitForString "CMF "
crt.Screen.Send "no" & chr(13)
Any help would be greatly appreciated.
crt.Screen.WaitForString "TN "
crt.Screen.Send " "
crt.Screen.WaitForString "DES "
crt.Screen.Send "TOR_PVR_COT" <- here i enter a 4 digit number after the COT and would like to have script enter it below
crt.Screen.WaitForString "CUST "
crt.Screen.Send "0" & chr(13)
crt.Screen.WaitForString "NCOS "
crt.Screen.Send " " <-- here is where I have to enter a number but it is putting in a space
crt.Screen.WaitForString "RTMB "
crt.Screen.Send " " <-- if I leave the quotes together the script hangs so i have to have the space between the quotes
crt.Screen.WaitForString "PRDN "
crt.Screen.Send "205" <- enter the 4 digit number after the 205
crt.Screen.WaitForString "CMF "
crt.Screen.Send "no" & chr(13)
Any help would be greatly appreciated.