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

Aspect Script Interaction with Other Programs

Status
Not open for further replies.

HMayhan

Technical User
Dec 3, 2004
1
US
All of a sudden, I am having an inssue with an Aspect script I have
written interacting with other programs that are open.

The script is a logoff script, and uses "sendkey" to send "CTRL-F",
spaces and the enter key to log off of and disconnect from a telnet
connection.

I start the script, and then might go to another program to do
something else, and the keys being sent in the script are affecting
my new program. For example, if a switch to Internet Explorer after
starting the script, as soon as the first "CTRL-F" is sent in the
script, then the "find" function pops up in the IE window (CTRL F in
IE is "find".)

But, I have been using Aspect and Procomm for YEARS, and have never
had this happen before. I haven't changed anything, either (that I
am aware of).

Has anyone ever seen this or heard of this?

Heather
 
Heather, in case you didn't see my message on Symantec's support forum, this is how sendkey works. The keystrokes will be sent to the active application, which is usually whichever application is in the foreground.


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

Part and Inventory Search

Sponsor

Back
Top