[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖

[其他] wstart 1.3 - 启动程序,并调整窗口坐标及大小

http://bcn.bathome.net/s/tool/index.html?key=wstart

WSTART v1.3

Starts a separate window to run a specified program or command.

WSTART [/CDdir] [/WTtitle] [ /HIDEMOVE [ /FTtitle2 | /FINDTOP ] ]
       [/POS x1 y1]  [/SIZE x2 y2] [/DTdtop] [/SC row col] [/WAIT]
       [/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
       [command/program] [parameters]

        /LOW          Start window in NORMAL priority
        /NORMAL       Start window in NORMAL priority
        /HIGH         Start window in HIGH priority
        /REALTIME     Start window in REALTIME priority
        /ABOVENORMAL  Start window in ABOVENORMAL priority
        /BELOWNORMAL  Start window in BELOWNORMAL priority

        /WAIT         Start application and wait for it to terminate

        /MIN          Start application minimized
        /MAX          Start application maximized
        /FULLSCR      Start application fullscreen

        /HIDEMOVE     Hide window before position/size change
        /FT<keyword>  Find top level window via matching keyword. *
        /FINDTOP      Find top level window using window flags *

        /CD<dir>      Name of directory to start in
        /WT<title>    Set the title of the first window created
        /POS <x> <y>  Set the x,y coordinates of the first visible window
        /SIZE <x< <y> Set the x,y size of the first visible window
        /DT<name>     Name of desktop to create the process on
        /SC <r> <c>   Set the row & cols for a console application.

  * Denotes that the /HIDEMOVE flag must be used with this option.

        command/program
                Windows program to exectute

        parameters
                These are the parameters passed to the command/program

        EXAMPLE
                wstart /POS 130 130 c:\windows\notepad.exe
                wstart /HIDEMOVE /FTMicrosoft /POS 1 1 /SIZE 400 400 http://www.cnn.com
                wstart /FINDTOP /POS 1 1 /SIZE 400 400 wmplayer

注:参数必须大写。

很有用,谢谢

TOP

返回列表