Fixed typo missing correct variable name

This commit is contained in:
Elizabeth Cray 2023-07-08 12:03:12 -04:00
parent 067581a97f
commit 6e7a6651c7

View File

@ -2,9 +2,10 @@ for n, param in A_Args ; For each parameter:
{ {
SUPPORTED := "360|3g2|3gp|aax|ai|arq|arw|avif|cr2|cr3|crm|crw|cs1|dcp|dng|dr4|dvb|eps|erf|exif|exv|f4a|f4v|fff|flif|gif|glv|gpr|hdp|heic|heif|icc|iiq|ind|insp|jng|jp2|jpeg|lrv|m4a|m4v|mef|mie|mng|mos|mov|mp4|mpo|mqv|mrw|nef|nksc|nrw|orf|ori|pbm|pdf|pef|pgm|png|ppm|ps|psb|psd|qtif|raf|raw|rw2|rwl|sr2|srw|thm|tiff|vrd|wdp|webp|x3f|xmp|jpg|JPG" SUPPORTED := "360|3g2|3gp|aax|ai|arq|arw|avif|cr2|cr3|crm|crw|cs1|dcp|dng|dr4|dvb|eps|erf|exif|exv|f4a|f4v|fff|flif|gif|glv|gpr|hdp|heic|heif|icc|iiq|ind|insp|jng|jp2|jpeg|lrv|m4a|m4v|mef|mie|mng|mos|mov|mp4|mpo|mqv|mrw|nef|nksc|nrw|orf|ori|pbm|pdf|pef|pgm|png|ppm|ps|psb|psd|qtif|raf|raw|rw2|rwl|sr2|srw|thm|tiff|vrd|wdp|webp|x3f|xmp|jpg|JPG"
; Cycle Through files, param is full path ; Cycle Through files, param is full path
If (InStr(FileExist(FolderFile),"D")){ If (InStr(FileExist(param),"D")){
; Is Directory, Cycle and recurse ; Is Directory, Cycle and recurse
; TODO ; TODO
MsgBox, Directory Support is not it yet 😔
} }
Else { Else {
If (RegExMatch(param, "i).*\.(" SUPPORTED ")$")) { If (RegExMatch(param, "i).*\.(" SUPPORTED ")$")) {