2 posts were split to a new topic: How can you pipe the output of an AppleScript to a shell script?
For more information, see the wiki Searching the Forum for Answers section.