I’m pretty sure this clipping came from LateNight.
Very hard to spot typo…
using terms from application "[[template:application]]”
[[selected-lines:-- your code goes here]]
end using terms from
There’s a curly quote after [[template: application]]
While I have your attention I’ve never used using terms from and want to make sure I’m doing it correctly. I’m distributing a script to users who may have not have Excel, Numbers, Text Wrangler or BB Edit installed on their machines, and the script must work with one of them. So I’m doing this:
using terms from application "TextWrangler"
tell application "TextWrangler" to set myText to text of window 1
end using terms from
Will that still compile on a machine that doesn’t have text wrangler installed?