标题: [求助] 視窗 是否可以預設位置 ?
[打印本页]
作者: importek2003
时间: 2008-9-23 02:11
标题: [求助] 視窗 是否可以預設位置 ?
不論是當 開啟程式(如start diskmgmt.msc) 打開一個視窗
或是 開啟 dos 本身的 dos視窗
請問 是否可以 各視窗的位置 是否可以預設位置?
這樣 就不用展開視窗的時候 還要用滑鼠去移動視窗 排列位置
作者: tireless
时间: 2008-9-23 08:04
ZMover helps you manage your desktop layout by enabling you to set the size, position and layering of application windows. Instead of wasting time rearranging windows across your single or multiple monitor display, you can configure ZMover to do the job for you. Simply tell ZMover which windows you want to modify and how, then hide the program and let it work in the background. ZMover will monitor the desktop and automatically reposition, resize, or even keep selected windows below or above the others when they open. ZMover can accommodate a large number of window layouts that you can name and sort to your convenience. Moreover, the program displays information that enables you to track its progress in real-time and review its past activity.
ZMover supports multiple display setups and helps you manage application windows across several monitors with ease. The number of applications lacking multiple monitor support and the increased desktop space offered by such display configurations make it more difficult to maintain an optimal desktop layout. ZMover eliminates these difficulties with its ability to store many window layouts and to move windows beyond the primary monitor.
ZMover stores user preferences in a small portable file. So it’s easy to define a desktop layout on one computer and propagate it to other computers in a lab or a data processing center. Organizations can benefit significantly from this capability in situations where it’s important to position windows in a uniform and familiar way across many workstations.
If you need to have your desktop arranged in a certain way, stop doing it manually and let ZMover take care of it for you!
http://www.basta.com/Product.aspx?pid=11
作者: happy9988
时间: 2008-9-23 11:58
@echo off
set rr="HKCU\Console\%%SystemRoot%%_system32_cmd.exe"
reg add %rr% /v "WindowPosition" /t REG_DWORD /d 0x0064020b /f>nul
if not defined ff (set ff=0&start cmd /c %0&exit)
reg delete %rr% /f>nul
::后续正常批处理脚本
echo 窗口已处于预定位置!
pause
exit
其中,reg add句中,0x0064020b的含义为:
设定窗口左上顶点的坐标为(0064H,020bH),坐标原点为显示器的左上顶点。
0064H即显示器左上角向下100个像素,020bH即向右523个像素。
作者: importek2003
时间: 2008-9-23 12:56
樓上朋友 Happy9988 您好,
REG_DWORD 類型定義 和 0x0064020b 座標和 像素的定義表格
是否可以在哪裡有資料 可以看到 ?
因為 我目前 還有兩個畫面要執行 diskmgmt.msc 和 devmgmt.msc
不知道類型定義 是什麼? 另外 座標和像素 如何去定義
謝謝
請再次提供建議