2 lines
182 B
AppleScript
2 lines
182 B
AppleScript
tell application "Finder" to return name of every item in (path to documents folder from user domain) whose name ends with "pdf"
|
|
--> EXAMPLE RESULT: {"About Stacks.pdf", "Test.pdf"}
|