For example is My Computer. How to automate the expanding of the "Computer" tree?
#include <GuiTreeView.au3>
Run("C:")
WinWaitActive("My Computer")
$hTreeView = "SysTreeView32"
_GUICtrlTreeView_Expand($hTreeView)
For example is My Computer. How to automate the expanding of the "Computer" tree?
#include <GuiTreeView.au3>
Run("C:")
WinWaitActive("My Computer")
$hTreeView = "SysTreeView32"
_GUICtrlTreeView_Expand($hTreeView)
更新 :
您可以运行shell:MyComputerFolder命令,它将带您直接进入我的电脑: http ://winaero.com/blog/the-full-list-of-shell-commands-in-windows-8/
最后你可以运行explorer.exe /e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}这将带你到 MyComputer:http ://www.msfn.org/board/topic/51661-make-explorer -从我的电脑开始/
当您打开 C:\ 时,您可以发送 ALT+Up 将您带到我的电脑。