3

在 Windows 10 中,我可以通过一个简单的 .vbs 脚本使用“Cascade Windows”:

set objShell = CreateObject("shell.application")
call objShell.CascadeWindows()

PowerShell 也是如此:

$ShellExp = New-Object -ComObject Shell.Application
$ShellExp.CascadeWindows()

但是,在 Windows 11 中,这不再可能。不过,该方法存在于 Windows 11 中。发出以下 PowerShell 命令:

New-Object -ComObject "Shell.Application" | gm | select Name, MemberType

并使用例如 AutoHotkey,我可以使用以下脚本/命令“级联 Windows”:

DllCall( "CascadeWindows", uInt,0, Int,4, Int,0, Int,0, Int,0 )

有没有办法使用 VBScript 或 PowerShell 恢复正常运行的“级联 Windows”操作?

4

0 回答 0