RosettaCodeData/Task/Walk-a-directory-Non-recursively/AppleScript/walk-a-directory-non-recursively-3.applescript
Ingy döt Net 68f8f3e56b all tasks
2013-04-11 01:07:29 -07:00

2 lines
189 B
AppleScript

tell application "Finder" to return name of every item in (path to documents folder from user domain) whose name does not contain "about" and name ends with "pdf"
--> RETURNS: {"Test.pdf"}