Created
November 13, 2020 17:47
-
-
Save TLMcode/dc1247e0402eea3bc6142058268e0f72 to your computer and use it in GitHub Desktop.
Open Media Directories for AutoHotkey
This file contains 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
TopDir := HomeDrive "\Users\" A_UserName | |
SubDir := "CWD_Cue_Videos" | |
DirArr := [ "Music", "Pictures", "Videos" ] | |
For Each, Dir in DirArr | |
{ | |
run % CurDir := TopDir "\" Dir "\" SubDir,,, DirPid | |
winwait % CurDir | |
winactivate % CurDir | |
winwaitactive % CurDir | |
send % "{LWin Down}" | |
. ( (i:=!i) ? "{Right}" : "{Left}" ) | |
. "{Win Up}" | |
} | |
ExitApp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment