Skip to content

Instantly share code, notes, and snippets.

@hetima hetima/1.ahk
Last active Feb 16, 2019

What would you like to do?
ahk スクリプト
; エクスプローラのウィンドウ前に出す
; エクスプローラが最前面ならサイクル
WinGetClass, front_class, A
if front_class = CabinetWClass
WinGet last_win, IDLast, ahk_class CabinetWClass
WinActivate, ahk_id %last_win%
; 後ろから順に前に出す
} else {
WinGet windows, List, ahk_class CabinetWClass
Loop %windows%
target_index := windows-A_Index+1
target_id := windows%target_index%
WinActivate ahk_id %target_id%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.