On Mon, 20 Jan 2020 at 17:01, 'Iain Houston' via BBEdit Talk <bbedit@googlegroups.com> wrote:
> I feel sure that this is a fairly common roundtrip pattern: BBEdit -> > AppleScript -> Shell script -> AppleScript -> BBEdit. Here's an example. You can also send arguments to an existing shell script rather than have the script inline: try set _q to display dialog "What is your name" default answer "" set _a to text returned of _q end try set _perloutput to do shell script " perl <<'END' my $name = qq~" & _a & "~; print qq~Your name is $name~; END" display dialog _perloutput --JD -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "supp...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://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 bbedit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/CAH37uVpGAQWLxZmbE%3DWc-aTMfrPeWtM3diTJ-bXKsK16wpefNg%40mail.gmail.com.