10-18-2014, 11:41 PM
Is this what you want?
Macro Kingdoms
Macro Kingdoms
;input for pattern to search for
str name
int ok=inp(name "Enter Partial Filename" "Name to search")
;search folder
str location
BrowseForFolder(&location "" 5)
;enumerate files
ARRAY(str) a
GetFilesInFolder a location _s.from("*" name "*") 2
;show results
str dirname=location
if(location.getfilename=name) out dirname
out a