Hello All,

I am trying to send the output of a shell script to a new text window in 
bbedit. The "display dialog" line below works fine but is ugly and limited. 
I can't figure out the sauce to send the output to a new text window. Do I 
need to create a new document in the new window and send the text to that?

tell application "BBEdit"
  set output to do shell script 
"/Users/johnnyb/Projects/repos/sm2/golang/build.osx"
  display dialog output -- works fine
  make new text window 1
    tell text window 1
    set contents to output
  end tell
end tell

Any suggestions?

Thanks, John

-- 
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].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to