BBEdit - test result of Find
BBEdit - test result of Find
- Subject: BBEdit - test result of Find
- From: email@hidden
- Date: Tue, 25 Sep 2001 15:59:45 -0500
Hello, all.
My script opens a file in BBEdit to check if a text string is present in the
file. Depending on whether the text is found, a value is set in a variable.
The problem is, the variable gets set to "color" even when the text is
found. Any ideas?
find "ColorUsage: Color" searching in text 1 of text window 1 with starting
at top
if false then
set color_flag to "bw"
else
set color_flag to "color"
end if
Thanks,
Celli