Dear Forum Users,
The BBEdit manual calls attention to the fact that AppleScript
compiler and BBEdit both use a backslash to escape and read the
immediate glyph as a literal. Thus, to automate a grep search the
BBEdit manual recommends the following piece of code:
tell application BBEdit
set
At 10:35 -0800 2/10/12, James wrote, and I snipped:
The BBEdit manual calls attention to the fact that AppleScript
compiler and BBEdit both use a backslash to escape and read the
immediate glyph as a literal. Thus, to automate a grep search the
BBEdit manual recommends the following piece of code:
Hey James,
Yeah BBEdit's terminology has change a bit:
tell application BBEdit
set result to (find BBEdit searching in text of text window 1 with
selecting match)
if (found of result) then
set text of (found object of result) to Replacement
end if
end