我需要将窗口定位到0,0
如何使用VBScript和HTA执行此操作
最佳答案
只是为了避免Scripting Guy的混乱(头部和身体之间的脚本),并在.HTA中显示顶级(功能失效)代码:
<html>
<!-- stolen & sanitized from:
!! http://blogs.technet.com/b/heyscriptingguy/archive/2005/10/10/how-can-i-center-an-hta-on-the-screen.aspx
-->
<head>
<title>TopLeft HTA</title>
<HTA:APPLICATION
APPLICATIONNAME="TopLeft HTA"
>
<SCRIPT Language="VBScript">
window.moveTo 0, 0
</SCRIPT>
</head>
<body></body>
</html>
关于vbscript - HTA如何将窗口定位到角落?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/10721482/