• 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
Re: find/replace in BBEdit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: find/replace in BBEdit


  • Subject: Re: find/replace in BBEdit
  • From: Emmanuel <email@hidden>
  • Date: Mon, 11 Dec 2000 08:26:38 +0100

At 5:20 +0100 11/12/00, Rick Plummer wrote:
>I need to open a file (BBEdit will open it) and replace a string in one
>line with a
>reference pulled from Applescript, then resave the file with the original
>type and
>creator.

Smile is just designed for this ...

------------------------ untested
tell application "Smile"
set theNewWindow to (open alias theFile)
change "blah" into "something else" in theNewWindow
-- or something like:
set paragraph 999 of theNewWindow to "something else"
close theNewWindow saving yes
end
---------------------------------

HTH
Emmanuel


References: 
 >Re: find/replace in BBEdit (From: Rick Plummer <email@hidden>)

  • Prev by Date: Re: 1.0000023E+5 to 100000.23 as text?
  • Next by Date: Re: find/replace in BBEdit
  • Previous by thread: Re: find/replace in BBEdit
  • Next by thread: Re: find/replace in BBEdit
  • Index(es):
    • Date
    • Thread