I'm not an expert by any stretch.  I can only offer some of what i've learned 
and tried along the way.  Maybe 
 use the sendkeys command or use the key command with the winscript session 
itself, like
dim S as new winscript
with S
.connect ("IDXterm"), stStream 
.key Chr(27) & "[21" & "~" 
Using the key command without doing this might send it to some other open 
application.  It's possible, but unlikely that your version of IDXterm uses a 
different key sequence for F10.
Hope that helps.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Cliff Cloyd
Sent: Wednesday, June 22, 2005 5:00 PM
To: [email protected]
Subject: RE: [Talk] IDXTerm


Thanks for the tip. I'm closer than I was but I am now getting an
"unsupported key" error when I use the string. Any thoughts?

>>> [EMAIL PROTECTED] 06/22/05 03:38PM >>>
Cliff,   Try using 
Key Chr(27) & "[21" & "~" 
I believe this is the IDX command for F10
-----Original Message-----
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] Behalf Of Cliff Cloyd
Sent: Wednesday, June 22, 2005 3:56 PM
To: [email protected] 
Subject: [Talk] IDXTerm


Is anyone scripting IDX tasks via IDXTerm? I am trying to automate a
DBMS query output download and I can't get any function keys to
enter
properly. If I Key a {F10} the terminal session displays a 10} and
throws an error. I'm new to BWS so this may be a simple deal.
Thanks.

Cliff Cloyd
Financial Applications Analyst
Perot Systems Corporation
918.579.7781
[EMAIL PROTECTED] 


Reply via email to