Last active
February 16, 2019 00:54
-
-
Save hetima/8b0f53eddd49e3615a28b2854032da6e to your computer and use it in GitHub Desktop.
ahk スクリプト
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; エクスプローラのウィンドウ前に出す | |
+!F11:: | |
; エクスプローラが最前面ならサイクル | |
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% | |
} | |
} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment