使用 VBScript 调整窗口大小 [英] Resize window size using VBScript

查看:61
本文介绍了使用 VBScript 调整窗口大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何调整通过运行应用程序启动的窗口边框的大小使用 VBScript.

Hi I want to know how to re size the window border which is launched by running an application using VBScript.

推荐答案

你可以使用这个短子中的两个命令

You can use the two commands in this short sub

  Sub Window_Onload
     window.moveTo 1030,110'          Moves the window position
 '                                    horizontally, vertically and
     window.resizeTo 225,175'         changes the width and height
  End Sub'  65+450=515  1280-515=765' of the window

这篇关于使用 VBScript 调整窗口大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆