boossy
Member
In Windows 10, I was able to use "Cascade Windows" with a simple .vbs script:
The same is possible with PowerShell:
However, in Windows 11, this is no longer possible. If I execute the .vbs or .ps1 file, nothing happens and no error is thrown. Nevertheless, the method is present in Windows 11. Issue the following PowerShell command:
And using e.g. AutoHotkey, I am able to "Cascade Windows" using the following script/command:
I was wondering if there is a way to restore a functioning "Cascade Windows" using VBScript (or PowerShell)?
Code:
set objShell = CreateObject("shell.application")
call objShell.CascadeWindows()
The same is possible with PowerShell:
Code:
$ShellExp = New-Object -ComObject Shell.Application
$ShellExp.CascadeWindows()
However, in Windows 11, this is no longer possible. If I execute the .vbs or .ps1 file, nothing happens and no error is thrown. Nevertheless, the method is present in Windows 11. Issue the following PowerShell command:
Code:
New-Object -ComObject "Shell.Application" | gm | select Name, MemberType
And using e.g. AutoHotkey, I am able to "Cascade Windows" using the following script/command:
Code:
DllCall( "CascadeWindows", uInt,0, Int,4, Int,0, Int,0, Int,0 )
I was wondering if there is a way to restore a functioning "Cascade Windows" using VBScript (or PowerShell)?
My Computers
System One System Two
-
- OS
- Windows 11
- Computer type
- Laptop
- Manufacturer/Model
- DELL Studio XPS 1647
- CPU
- Intel Core i7 620M (2.66GHz, 4MB cache)
- Memory
- 8GB: 2x4GB 800MHz DDR3 SDRAM SO-DIMM
- Graphics Card(s)
- 1GB ATI Radeon HD 565v graphics
- Monitor(s) Displays
- WLED Full HD 1080p met TrueLife / LG 27MP38VQ
- Screen Resolution
- 1920x1080 (Full HD)
- Hard Drives
- Samsung SSD 850 EVO 500GB
- Keyboard
- Microsoft Sculpt Ergonomic
- Mouse
- Microsoft Sculpt Ergonomic
- Internet Speed
- 100 Mbps
- Browser
- Brave
-
- Operating System
- Windows 10
- Computer type
- Tablet
- Manufacturer/Model
- MICROSOFT Surface 3
- CPU
- Intel Atom x7-Z8700
- Memory
- 4GB
- Screen Resolution
- 1920x1280
- Hard Drives
- 64GB eMMC
- Mouse
- Microsoft Modern Mobile Mouse
- Keyboard
- Microsoft Surface 3 Type Cover - Azerty- Zwart
- Internet Speed
- 100 Mbps
- Browser
- Microsoft Edge