Sinister34
11-19-2001, 03:22 PM
I made a batch file to run a dos window program in win98.It programs a chip for me but at the end the window has a menu and I have to manually hit
" Q " twice for it to close.Is there anyway i can
implement the hiting Q twice.Here's what i have so far.A sub menu comes up and i get it to hit "3"
then a another sub menu comes up and I get it to hit "U" then it starts to program the chip and takes about 2 minutes ,then when it done a sub menu comes up and you have to hit "Q" twice but i don't know how to do that after chip is programed.
thanks
cd \
cd avr
fakey wait 1 "3" "u"
avr
" Q " twice for it to close.Is there anyway i can
implement the hiting Q twice.Here's what i have so far.A sub menu comes up and i get it to hit "3"
then a another sub menu comes up and I get it to hit "U" then it starts to program the chip and takes about 2 minutes ,then when it done a sub menu comes up and you have to hit "Q" twice but i don't know how to do that after chip is programed.
thanks
cd \
cd avr
fakey wait 1 "3" "u"
avr