Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'Use launchd to replace folder actions' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Use launchd to replace folder actions
Authored by: Zeitkind on Thu, Apr 24 2008 at 1:16PM PDT
It simply depends on your needs. In my case, I know that there will be one to many tiff-files which need to be ocr'ed. It's very simple to get a list of files with AppleScript:
tell application "Finder"
set myFolder to alias "Volumename:path:to:folder:"
set myList to every file of myFolder as alias list
end tell
You then have an array with all the files as alias. With a repeat or while or whatever kind of loop you can process the files.

[ Reply to This | # ]