Created
September 21, 2018 16:11
-
-
Save tmplinshi/ae2fae633489cfef28d3a86a4bfd3940 to your computer and use it in GitHub Desktop.
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
GetBitrate(FileName) { | |
if !InStr(FileName, ":") { | |
FileName := A_WorkingDir "\" FileName | |
} | |
RegExMatch(FileName, "^(.*\\)(.*)$", m) | |
oShell := ComObjCreate("Shell.Application") | |
oFolder := oShell.Namespace(m1) | |
return oFolder.GetDetailsOf( oFolder.Parsename(m2), 28 ) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment