Re: Get Selected Finder Items behavior
Re: Get Selected Finder Items behavior
- Subject: Re: Get Selected Finder Items behavior
- From: Scott Haneda <email@hidden>
- Date: Mon, 2 Mar 2009 15:50:43 -0800
Also, how do you abort out of a shell script and have Automater not
continue?
I have a basic workflow:
dropped items
shell script
growl notification
In the shell script, I perform a small condition looking for a
preference file, if there is not file, I `exit`, however, the
Automator action will still happily go about showing me my growl
notification.
On Mar 2, 2009, at 2:58 PM, Itai Rom wrote:
Yeah, you could do something like this in your Run Shell Script:
for f in "$@"
do
if [ -d "$f" ]; then
# do whatever you need to do here
echo "$f"
fi
done
--
Scott
* If you contact me off list replace talklists@ with scott@ *
_______________________________________________
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