我只是在这里猜测,因为我没有测试应用程序,或者更实际的是,你的应用程序,但是,似乎你可能能够进行重定向。
如果你想逐个发送击键,那就不行了。
如果你想发送一大块文本,你可能会这样做。我先试验它,以确保你可以直接在acommand窗口中进行。
然后,它看起来像你必须创建一个.batfile你想要发送的击键来执行你的COMAND并从veeexecute执行.bat文件,当然object.You可以动态创建fromin V形中的.bat和键盘文件
.lBill To:Vee Reflector(E-mail)= 20发送:2002年4月18日星期四下午2:20主题:vrf:向dos程序发送击键。
大家好,= 20我目前正致力于验证一个简单但至关重要的DOS =程序。= 20我的问题是;
为了自动化验证过程,我可以将键击发送到已在VEE下打开的DOS程序吗?
在此先感谢,= 20 Stuart Roberts = 20 ----------------------------------------
-----------------------------这是由Majordomo管理的“vrf”maillist。
要向该maillist发送消息,只需发送电子邮件至“vrf@lvld.agilent.com”。
订阅和取消订阅是通过地址“vrf-request@lvld.agilent.com”完成的。如果您需要详细信息,只需将包含“help”文本的消息发送到“vrf-request@lvld.agilent.com”.---
--------------------------------------------------
----------------
以上来自于谷歌翻译
以下为原文
I'm just guessing here, because I don't have a test app, or more
realisticly, your app, but, it seems like you might be able to do
input redirection. If you want to send keystrokes, 1 by 1, this won't
work. If you want to send a chunk of text, you may be able to do it.
I'd experiment with it first to be sure you can do it directly in a
command window. Then, it looks like you will have to create a .bat
file to execute your comand with a < redirect for the file with the
keystrokes you want sent and execute the .bat file from the vee
execute object.
You can of course create the .bat and keystroke files on the fly from
in vee.
lBill
To: Vee Reflector (E-mail)=20
Sent: Thursday, April 18, 2002 2:20 PM
Subject: vrf: Sending Keystrokes to a dos program.
Hi all,=20
I am currently working on the validation of a simple yet crucial DOS =
program.=20
My question is; can I send keystrokes to the DOS program that has been =
open under VEE, for the purpose of automating the validation process??
Thanks in advance,=20
Stuart Roberts=20
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo. To send messages to
this maillist, just email to "vrf@lvld.agilent.com". Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------
我只是在这里猜测,因为我没有测试应用程序,或者更实际的是,你的应用程序,但是,似乎你可能能够进行重定向。
如果你想逐个发送击键,那就不行了。
如果你想发送一大块文本,你可能会这样做。我先试验它,以确保你可以直接在acommand窗口中进行。
然后,它看起来像你必须创建一个.batfile你想要发送的击键来执行你的COMAND并从veeexecute执行.bat文件,当然object.You可以动态创建fromin V形中的.bat和键盘文件
.lBill To:Vee Reflector(E-mail)= 20发送:2002年4月18日星期四下午2:20主题:vrf:向dos程序发送击键。
大家好,= 20我目前正致力于验证一个简单但至关重要的DOS =程序。= 20我的问题是;
为了自动化验证过程,我可以将键击发送到已在VEE下打开的DOS程序吗?
在此先感谢,= 20 Stuart Roberts = 20 ----------------------------------------
-----------------------------这是由Majordomo管理的“vrf”maillist。
要向该maillist发送消息,只需发送电子邮件至“vrf@lvld.agilent.com”。
订阅和取消订阅是通过地址“vrf-request@lvld.agilent.com”完成的。如果您需要详细信息,只需将包含“help”文本的消息发送到“vrf-request@lvld.agilent.com”.---
--------------------------------------------------
----------------
以上来自于谷歌翻译
以下为原文
I'm just guessing here, because I don't have a test app, or more
realisticly, your app, but, it seems like you might be able to do
input redirection. If you want to send keystrokes, 1 by 1, this won't
work. If you want to send a chunk of text, you may be able to do it.
I'd experiment with it first to be sure you can do it directly in a
command window. Then, it looks like you will have to create a .bat
file to execute your comand with a < redirect for the file with the
keystrokes you want sent and execute the .bat file from the vee
execute object.
You can of course create the .bat and keystroke files on the fly from
in vee.
lBill
To: Vee Reflector (E-mail)=20
Sent: Thursday, April 18, 2002 2:20 PM
Subject: vrf: Sending Keystrokes to a dos program.
Hi all,=20
I am currently working on the validation of a simple yet crucial DOS =
program.=20
My question is; can I send keystrokes to the DOS program that has been =
open under VEE, for the purpose of automating the validation process??
Thanks in advance,=20
Stuart Roberts=20
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo. To send messages to
this maillist, just email to "vrf@lvld.agilent.com". Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------
举报