Workflow to run shell script on contents of a Finder selection
Workflow to run shell script on contents of a Finder selection
- Subject: Workflow to run shell script on contents of a Finder selection
- From: peter boardman <email@hidden>
- Date: Thu, 13 Oct 2005 16:18:32 +0100
I'm trying to write a workflow that runs shell scripts on the
contents of a Finder-selected text file.
I've inserted a Run AppleScript action that converts the output of
the Get Finder Selection from a Finder object to an alias (which
might not be necessary but looks like it might be), and I'm feeding
this to a Run Shell Script.
The only thing I can get out of the Run Shell Script action is the
name of the file. For example, if I choose /bin/bash and use
'cat' (on stdin), I just see the name of the file, although I'd be
expecting the file's contents.
Can anyone point me to a workflow somewhere that has successfully got
the contents of a file using any type of shell script?
ta
Pete
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden