Hi Christopher, thank you so much for the scripting help! You'll have
to forgive my questions here, as Applescript is completely foreign to
me.

My goal is to avoid having to open the Terminal to run JSLint, so your
solution to use the BBEdit worksheet is more along the lines of what
I'm looking for. However, I ran the script as you have it written, and
it didn't do much. It just opened a new document with the text "cat '/
path/to/file' | jslint"

So it formatted the command correctly, but how do I actually make it
run the command? Also, what are other options for where to output it?
Something like an alert/dialog would be much more desirable than
creating a new text document every time I run the script.

Again thank you so much for your help! Like I said, I've never done
anything with Applescript before so I'm completely at a loss here.

-Daniel

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
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>

Reply via email to