• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
BBEdit - test result of Find
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: AS adoption barriers [Starter Kit]
  • Next by Date: RE: Barriers to Applescript adoption
  • Previous by thread: Re: Barriers to Applescript adoption
  • Next by thread: Re: BBEdit - test result of Find
  • Index(es):
    • Date
    • Thread