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


Click here to return to the 'My Workflows Seem to Be Fine' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
My Workflows Seem to Be Fine
Authored by: nicksay on Nov 01, '05 07:30:59PM
I'd just like to report that I'm running 10.4.3 and my workflows seem to be fine.

In the above linked story, I posted one of the scripts to "toggle" burn folders.
What I did to create that workflow was:
1) Created a new workflow
2) Added a "Run Shell Script" action
3) Set "Shell:" to "/bin/bash"
4) Set "Pass input:" to "as arguments"
5) Pasted the following code in the text box:
for i in "$@"; do if [ -d "$i" ]; then
i="${i%/}"; f="${i##*/}"; p="${i%/*}"
[[ "$f" = "$p" ]] && p="."
[[ $f == *.fpbf ]] && n="${f%.fpbf}" || n="$f.fpbf"
mv -v "$i" "$p/$n"
fi; done
6) Saved as a Finder Plug-in

I was then able to select one or more items in the finder, right-/ctrl-click and choose my workflow, and any selected folders "toggled" from "normal" to "burn" and vice versa.

[ Reply to This | # ]