On 10/23/07 at 4:02 PM, [EMAIL PROTECTED] (Jason Davies) wrote:
can anyone see what is wrong with the script below?
Its existence? :-)
What are you really trying to do? If the answer is "make a new
document with the contents of the current selection", there are
far more compact and efficient ways to express that. One of them
would be:
tell app "BBEdit"
make new text document with properties {contents: text
of selection }
end tell
Enjoy,
R.
--
Rich Siegel Bare Bones Software, Inc.
<[EMAIL PROTECTED]> <http://www.barebones.com/>
Someday I'll look back on all this and laugh... until they
sedate me.
--
------------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_script.shtml>
List archives: <http://www.listsearch.com/bbeditscripting.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>