Re: Scriptable Search-and-Replace Utilities
Re: Scriptable Search-and-Replace Utilities
- Subject: Re: Scriptable Search-and-Replace Utilities
- From: "Denise Renckens" <email@hidden>
- Date: Mon, 14 Jan 2002 14:17:35 -0600
Mr. Hinson --
BBEdit! (www.barebones.com) It's the most powerful text editor available for
the Mac -- and fully scriptable. I believe version 6.x is even recordable.
The syntax for search-and-replace goes like this in version 4.5:
tell application "BBEdit 4.5"
tell document 1
replace Every Occurrence searching for ("x")
using "y" with start at top
end tell
end tell
I hope that helps.
__________________
Denise M. C. Renckens
Senior Copy Editor
Post-Bulletin
email@hidden
>
I am searching for a search-and-replace utility that is AppleScript-able.
>
I've begun testing Text Machine, but I'd like to have some outside opinions
>
of it. I'd also like to know if there are other scriptable s-and-r
>
utilities and what users think of them.
>
>
Any thoughts will be appreciated.
>
>
Brian Hinson
>
email@hidden
>
Special Projects Coordinator
>
Modern Language Association