automate keypress in Expect or TCL
millertimebjm_at_yahoo.com
Date: 12/30/04
- Next message: Michael Schlenker: "Re: ftp::Cd error message"
- Previous message: Gustaf Neumann: "Language speed [was Re: Good TK book]"
- Next in thread: millertimebjm: "Re: automate keypress in Expect or TCL"
- Reply: millertimebjm: "Re: automate keypress in Expect or TCL"
- Reply: Cameron Laird: "Re: automate keypress in Expect or TCL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Dec 2004 06:23:41 -0800
I'm attempting to automate a test script that involves entering a linux
box via telnet and walking through a menu system. The only way to exit
this menu system is with an f4 key press. I'm pretty new to Expect and
TCL. I need the solution to be in Expect or TCL because this .tcl file
could be downloaded onto any one of ten pc's, and I don't want to be
downloading other software on there as well just to press the F4 key.
Is there any simple solution to this? I've been looking at bind and
keysym. Could I bind F4 to a key I don't use much...like 'z'? :)
Thanks for looking,
Brandon
- Next message: Michael Schlenker: "Re: ftp::Cd error message"
- Previous message: Gustaf Neumann: "Language speed [was Re: Good TK book]"
- Next in thread: millertimebjm: "Re: automate keypress in Expect or TCL"
- Reply: millertimebjm: "Re: automate keypress in Expect or TCL"
- Reply: Cameron Laird: "Re: automate keypress in Expect or TCL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|