Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use launchd to replace folder actions' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use launchd to replace folder actions
Authored by: Zeitkind on Apr 24, '08 01:16:29PM

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 | # ]