That works, although pulling it together in one is causing me a slight issue…sure I’m missing something obvious but the below gives me an “Incompatible Types” error:
if (exists file whose (name of it as string as lowercase contains “num.log”) of folder “C:\temp”) then (if (exists lines whose (it as string contains “\”) of file whose (name of it as string as lowercase contains “num.log”) of folder “C:\temp”) then ((“Month”, it, “Count”, multiplicity of it) of unique values of preceding texts of firsts “/” of following texts of firsts "- " of lines whose (it as string contains “\”) of file whose (name of it as string as lowercase contains “num.log”) of folder “C:\temp”) else “No Entries”) else “File Does Not Exist”
if (exists file whose (name of it as string as lowercase contains “num.log”) of folder “C:\temp”) then (if (exists lines whose (it as string contains “\”) of file whose (name of it as string as lowercase contains “num.log”) of folder “C:\temp”) then ((“Month”, it, “Count”, multiplicity of it) of unique values of preceding texts of firsts “/” of following texts of firsts "- " of lines whose (it as string contains “\”) of file whose (name of it as string as lowercase contains “num.log”) of folder “C:\temp” as string) else “No Entries”) else “File Does Not Exist”