At 8:57 PM +0200 2007/05/02, Johan Solve wrote:
At 14.35 -0400 2007-05-02, Chris Pepper wrote:
I occasionally open a bunch of windows (24 in today's case),
then realize I want Soft Wrap for all of them; the solution today
was to close them all, clear the default, open them again (not so
bad, as I just re-ran a couple 'for' loops), edit, then change the
default again.
This should do it
tell application "BBEdit"
repeat with w in text windows
repeat with d in text documents of w
set soft wrap text of d to true
end repeat
end repeat
end tell
Thanks! Unfortunately, when I run that, BBEdit immediately
complains about a -10000 AppleScript error. I'm trying it with 2
windows open; one dirty and one unsaved, although I don't see why
that should matter.
Chris
--
Chris Pepper: <http://www.reppep.com/~pepper/>
<http://www.extrapepperoni.com/>
The Rockefeller University: <http://www.rockefeller.edu/>
--
------------------------------------------------------------------
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_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>