嘟 [英] Beep
问题描述
我正在使用一些脚本在外部应用程序中的屏幕上移动(认为这称为OLE自动化),但是外部应用程序的响应速度很慢,因此当我进行多次按键编码时,我会收到哔声" '直到应用程序赶上!
我可以在脚本中暂停一下,但是我正在运行的过程相当长,而在外部应用程序中每次击键后暂停都会大大增加所需的时间运行.因此,我想关闭提示音",但不确定如何编写脚本.
有什么建议吗?
干杯
I am using some script to move around screens in an exteral application (think this is called OLE Automation), but the external app is quite slow to respond so when i have multiple keystrokes coded I get a 'Beep' until the app catches up!
I can put a pause in the script, but the process I am running is quite long and a pause after every keystroke in extrnal app will dramatically increase the time required to run. Therefore I would like to turn off the 'Beep' but not sure how to script it.
Any suggestions?
Cheers
推荐答案
听起来像是由于键盘缓冲区已满而发出蜂鸣声.基本上,当您按下某个键时,BIOS会将按键添加到称为键盘缓冲区的内存区域中.通常,操作系统几乎立即处理按键.但是,如果它被其他东西占用,则击键将保留在缓冲区中,直到操作系统可以对其进行处理为止.
如果用户坚持输入击键,最终他们将淹没键盘缓冲区;发生这种情况时,BIOS会发出哔哔声;最初是为了警告用户暂时无法再处理任何击键.
这篇关于嘟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!