[AHK]Shell.Application用法

来源:互联网 发布:淘宝香港代购靠谱吗 编辑:程序博客网 时间:2024/06/05 09:31
Shell :=   ComObjCreate("Shell.Application")MsgBox Cascade WindowsShell.CascadeWindows()Sleep 2000MsgBox Tile Windows HorizontallyShell.TileHorizontally()Sleep 2000MsgBox Tile Windows VerticallyShell.TileVertically()Sleep 2000MsgBox 最小化全部窗口Shell.MinimizeAll()Sleep 2000MsgBox 撤销最小化全部窗口Shell.UndoMinimizeALL()/*  Shell 属性及方法 Shell.Application Shell.Parent Shell.CascadeWindows() Shell.TileHorizontally() Shell.TileVertically() Shell.ControlPanelItem(sDir) /* 比如:sysdm.cpl */ Shell.EjectPC() Shell.Explore(vDir) Shell.Open(vDir) Shell.FileRun() Shell.FindComputer() Shell.FindFiles() Shell.Help() Shell.MinimizeAll() Shell.UndoMinimizeALL() Shell.RefreshMenu() Shell.SetTime() Shell.TrayProperties() Shell.ShutdownWindows() Shell.Suspend() oWindows = Shell.Windows() 返回ShellWindows对象  fFolder = Shell.NameSpace(vDir) /返回所打开的vDir的Folder对象  oFolder = Shell.BrowseForFolder(Hwnd, sTitle, iOptions [, vRootFolder]) 选择文件夹对话框  */

0 0
原创粉丝点击