Board logo

标题: [其他] wstart 1.3 - 启动程序,并调整窗口坐标及大小 [打印本页]

作者: tmplinshi    时间: 2011-6-16 15:50     标题: 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

注:参数必须大写。
作者: flaven    时间: 2013-2-6 11:40

很有用,谢谢




欢迎光临 批处理之家 (http://bathome.net./) Powered by Discuz! 7.2