```applescript tell application "Finder" every document file of the front finder window whose ¬ name extension is in {"txt"} end tell ``` This code block will return the name of every .txt file in the active Finder window. Used in [[convertTXTtoMD]] #Applescript