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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Noob question - Attachmate Extra - send text to another window

Status
Not open for further replies.

kurfu

Technical User
Sep 23, 2014
2
US
Hi!

I am using Attachmate Extra and need to send some text to a window other than the active terminal session. According to the examples I found in the help file, it should be as simple as this:

Code:
Sub main
    AppActivate "Untitled - Notepad"
    Sendkeys "Hello world!"
End Sub

It changes focus to Notepad just fine, however, I get an "Illegal Function Call" error on the Sendkeys line.

Any suggestions?

Thank you in advance!

 
This works with Excel VBA but not Extra EB. sorry, i don't know how to code this in Extra. What exactly are you trying to do?
 
I have a script running in an Extra! telnet session, and at some point in that script I need to set focus on another telnet window to start a ping command. I used to be able to do this quite easily in Procomm Plus, but can't seem to make it work with Attachemate Extra.
 
In Attachmate, you should be able to pass data from one session to another.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top