But still i done as what you told and not able to succeed
my code just a cut and paste of your code since it was so clear:
But when i run that i just executes for a second get and get vanished
Could you please suggest how to use these fflush() and fonfigure, and setting buffering to line...
i tried the below code as you said:
set myexe [open "|BOB.exe" r+]
while {[gets $myexe line] > -1} {
switch -glob -- $line {
Please enter your USERNAME { send "SYSMAN" }
and PASSWORD [ ] { send "PASSWORD" }
default { puts...
i am getting a message
"couldn't open "C:/bob.exe": permission denied"
How to avoid this error!
Can we open it in read mode?
I removed "r+" from set myexe [open C:/bob.exe r+] .
and tried to print the lines :
set myexe [open C:/bob.exe ]
while {[gets $myexe...
Hi
i searched everywhere to find a solution for my logon problem
i dont know tcl-with expect will support this type of text mode appliccation automations! Could anybody suggest any way to automate teh logon procedure for a dos application /text mode application
The suggestion i got was ,perl...
Hi
i have developed a small application
i want to automate that...
it is a text mode application [not a GUI]
it runs from c:program exe is "bob.exe"
could you please writee a script for me to automatemy logon and move to next screen.
My logon screen is :[dos application/text mode]...
Hi
i have developed a small application
i want to automate that...
it is a text mode application [not a GUI]
it runs from c:program exe is "bob.exe"
could you please writee a script for me to automatemy logon and move to next screen.
My logon screen is :[dos application/text mode]...
OS:WINDOWS
Using Expect & TCL/TK i want to login to my application:
But my appl'n got a character User Interface Which conatins one boxframe with "USER" and "PASSWORD" field
Now i want to login to go to next screeen.but i can reach there by
" set exit_status 1
set...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.