Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do you send command to the host pc?

Status
Not open for further replies.

zo6speed

IS-IT--Management
Apr 26, 2004
1
US
I am wondering how I would send a command to the remote pc I'm logged into using ASPECT? I can connect but the menu from the host pc requires that I push the numberpad4 key. I've looked at the VK_NUMPAD4/0x64 and tried sending variations of this by using:
termkey 0x64
computc 0x64
termvkey 0x64

Here's what I'm trying to accomplish with this script:
I connect to the remote system...then I want to advance pages by using the numkeypad4. Then I will capture the screen, logoff, close procomm plus. This will allow me to do some editing to the file I'm capturing for another application.

I'm obviously a novice so be easy on me and try to explain some of the things I'm not understanding.

Thanks for your help.
-z
 
I think what is happening is that you are either not using the proper terminal emulation when you connect to the remote system, or Procomm is not sending the expected value for the 4 key on the numeric keypad. The latter can be corrected by using the Keyboard Editor (Options | Keyboard Editor menu item) to edit the key to send the desired value, as long as you can find out what escape sequence the other system is looking for.


aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top