• 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: Tex-Edit, colorize HTML text?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tex-Edit, colorize HTML text?


  • Subject: Re: Tex-Edit, colorize HTML text?
  • From: Timothy Bates <email@hidden>
  • Date: Sat, 01 Sep 2001 01:59:40 +1000

On 9/1/01 12:04 AM, "Rachel" <email@hidden> wrote:

> It seems like I have wasted 2 days trying to figure this out.
> I want to change every occurrence of a certain font in an HTML text to a
> color.
tell application "Tex-Edit Plus"
tell front window
repeat with n from 1 to count of style runs
if font of style run n is "Times" then
set color of style run n to red
end if
end repeat
end tell
end tell

> In fact, I wish I had a very flexible way to format HTML text.
there is an example script that comes with tex-edit to do this

also check out
http://www.malcolmadams.com/te/


  • Next by Date: Re: Applescript and OS X
  • Next by thread: Re: Tex-Edit, colorize HTML text?
  • Index(es):
    • Date
    • Thread