• 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
Tex-Edit, get wild text, even one letter.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tex-Edit, get wild text, even one letter.


  • Subject: Tex-Edit, get wild text, even one letter.
  • From: Gnarlodious <email@hidden>
  • Date: Sat, 06 Oct 2001 08:47:51 -0600

I have various lines:
<td class="xs">05<br>H</td>
<td class="xp">07<br>He</td></tr>

I am using "r>^*<" to specify text to select, I want to select only the
characters between but not including characters "><"
This will not process one character, even if I insert a space to make two:

tell window 1 of application "Tex-Edit Plus"
repeat with i from 1 to (count lines)
if line i starts with "<td" then
search line i looking for "r>^*<"
select characters 3 thru -1 of selection
set color of selection to "#990099"
end if
end repeat
end tell

How to?

Rachel http://www.gnarlodious.com


  • Follow-Ups:
    • Re: Tex-Edit, get wild text, even one letter.
      • From: AppleScript Guru <email@hidden>
  • Prev by Date: Scripting Palm Desktop --- syntax to modify Custom fields
  • Next by Date: File Sharing: time to draw folders
  • Previous by thread: Re: Scripting Palm Desktop --- syntax to modify Custom fields
  • Next by thread: Re: Tex-Edit, get wild text, even one letter.
  • Index(es):
    • Date
    • Thread