application CapAll application Host
# Graphical Object Definitions:
blue region Password_TR size 400 200
at position 70 75
white border foreground
red key Exit_KEY at position 400 10
solid box 100 80
white box 100 80
move to 50 40
white text center "EXIT"
# Response Definitions:
response to start
start local CapAll "caps.exe"
start remote Host "COM1"
"1200 evenpar tandem"
if (errorlevel_IV != 0) then
send "ERROR STARTING REMOTE APPLICATION\n"
to errorlog
stop all
exit
end if
response to line from keyboard
send input "\r\n" to CapAll
response to line from CapAll
change Password_TR to
move to xmiddle ymiddle
font "asc1521" text center input
send input "\n" to Host
response to Exit_KEY
stop all
exit