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

[其他] windows.exe - 列举/控制窗口

主页: http://www.diamondcs.com.au/consoletools/windows.php
下载: http://bcn.bathome.net/s/tool/index.html?key=windows
  1. C:\>windows.exe
  2. Windows - DiamondCS Freeware Console Tools (www.diamondcs.com.au)
  3. ---
  4. PURPOSE: Display and control window objects.
  5.   USAGE: winctrl [option]
  6. OPTIONS: -all             List all captioned parent windows
  7.          -hidden          List all hidden captioned parent windows
  8.          -apps            List all application parent windows
  9.          -visibleapps     List all visible application parent windows
  10.          -children:hWnd   List all captioned child windows under parent hWnd
  11.          -show:hWnd       Displays the target window
  12.          -hide:hWnd       Hides the target window
  13.          -close:hWnd      Closes the target window
  14.          -flash:hWnd      Flash the target window
  15.          -text:hWnd text  Change the text/caption of a window
  16. C:\>windows.exe -visibleapps
  17. Windows - DiamondCS Freeware Console Tools (www.diamondcs.com.au)
  18. ---
  19. 0054018E: C:\WINDOWS\system32\cmd.exe - windows.exe -visibleapps
  20. 00120128: g:\我的文档\桌面\windows
  21. 0017011E: D:\commandline tools\killwin
  22. 00090268: Windows: Freeware Console Tool for Windows - Opera
  23. 00040068: Program Manager
复制代码

最进天天上来看```但发现自己的水平实在太低```很多都看不懂```无奈````LZ能讲解下功能么

TOP

我的英语也不好...你可以用 Google翻译
 
-all显示所有含有标题的母窗口
-hidden显示所有隐藏的含有标题的母窗口
-apps显示所有应用程序的母窗口
 -visibleapps显示所有在任务栏上的母窗口
-children:窗口句柄显示某个窗口句柄下的所有子窗口
-show:窗口句柄显示窗口
-hide:窗口句柄隐藏窗口
-close:窗口句柄关闭窗口
-flash:窗口句柄使窗口的任务栏按钮闪烁
-text:窗口句柄 新标题改变窗口标题


一楼的 windows.exe -visibleapps 结果中,冒号前的就是窗口的句柄。

如果要列出所有可见窗口(包括不在任务栏的,如 QQ 主界面),可以用 SendMsg

[ 本帖最后由 tireless 于 2009-5-27 22:12 编辑 ]

TOP

返回列表