本文介绍了MSGBOX 在 WSH/VBS 中的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是我的下一个问题,我希望有人能帮助我:-)
here is my next question and i hope some one can help me :-)
是否可以在 wsh/vbs 中定位 msgbox?
Is it possible to position a msgbox in wsh/vbs?
替代文字 http://www.4freeimagehost.com/uploads/a9b04cde0527.jpg
我每次在前台都需要 msgbox.我知道如何定位输入框,但不知道如何定位 msgbox.
推荐答案
你不能通过单独使用 VBS 的 WSH MsgBox 做到这一点.
You cannot do that with a WSH MsgBox using VBS alone.
InputBox
is the only build in dialog function that allows you to set a position.
您可以使用 WshShell.Popup
并使其在几秒钟后消失,但它会居中.
You can use a WshShell.Popup
and make it disappear after a few seconds, however it will be centered.
Edit; here is something using IE.
这篇关于MSGBOX 在 WSH/VBS 中的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!