On Jan 02, 2014, at 13:51, bfu <[email protected]> wrote: > I make regular use of the ability to run scripts (of all kinds) from within > BBEdit making sure the shebang line is properly set. I’d like to take it a > step further and pass the contents of the current document to something else, > for example, graphviz. ______________________________________________________________________
Hey Matt, If you just want to pass the saved file path you can do something like this: #! /usr/bin/env bash cat $BB_DOC_PATH; Substitute your command for 'cat' (you may need to supply the full path to the command). Save Your_File_Name.sh in the script menu, run it, and the output will open in an output window. -- Best Regards, Chris -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
