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.
To create a PNG file based on graphviz code, the command line would look something like this: dot -Tpng code.dot if code.dot is my active BBEdit document which contains the graph code, how can I pass this file into a command line like the one above? I’m just using graphviz as an example - I might want to do this with any of a number of different data files, etc. I realize I could probably do this via APpleScript, but I'm hoping there's a way to make it as elegant as BBEdit's native shell script integration. Thanks! -- 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].
