Hello,

I'm brand new to BBEdit (love it!) and am trying to write a simple
search and replace script.  For now, I'm just trying to get it to find
and replace "</p><p>" with two carriage returns.

The following AppleScript compiles but it doesn't actually do
anything:

tell application "BBEdit"
        tell text of front text window
                replace "</p><p>" using "\\r\\r"
        end tell
end tell

Eventually I'd like to get it to replace text in all open windows.

Can any experienced users help?  I'd be very grateful for any
assistance.


Many thanks,

Albert

-- 
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