2026年 03月 01日
[ChatGPT] ウインドウのカスケード配置 (左上から斜め下へ重なるように) - タイル型や分割でなく [AutoHotkey v2] (3/1)
![[ChatGPT] ウインドウのカスケード配置 (左上から斜め下へ重なるように) - タイル型や分割でなく [AutoHotkey v2] (3/1)_a0034780_23411121.png](https://pds.exblog.jp/pds/1/202603/01/80/a0034780_23411121.png)
![[ChatGPT] ウインドウのカスケード配置 (左上から斜め下へ重なるように) - タイル型や分割でなく [AutoHotkey v2] (3/1)_a0034780_16352229.png](https://pds.exblog.jp/pds/1/202603/07/80/a0034780_16352229.png)
![[ChatGPT] ウインドウのカスケード配置 (左上から斜め下へ重なるように) - タイル型や分割でなく [AutoHotkey v2] (3/1)_a0034780_18525364.png](https://pds.exblog.jp/pds/1/202603/04/80/a0034780_18525364.png)
# Define the CascadeWindows function from USER32.dll
Add-Type @"
using System;
using System.Runtime.InteropServices;
public class User32 {
[DllImport("user32.dll", SetLastError = true)]
public static extern int CascadeWindows(IntPtr hwndParent, uint wHow, IntPtr lpRect, uint cKids, IntPtr[] lpKids);
}
"@
function Cascade-Windows {
[User32]::CascadeWindows([IntPtr]::Zero, 0, [IntPtr]::Zero, 0, $null)
}
![[ChatGPT] ウインドウのカスケード配置 (左上から斜め下へ重なるように) - タイル型や分割でなく [AutoHotkey v2] (3/1)_a0034780_12050443.jpg](https://pds.exblog.jp/pds/1/202603/06/80/a0034780_12050443.jpg)

