• 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: Using "character" in TeX-Edit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using "character" in TeX-Edit


  • Subject: Re: Using "character" in TeX-Edit
  • From: Emmanuel <email@hidden>
  • Date: Mon, 21 Nov 2005 23:26:22 +0100

At 8:34 AM -0800 11/21/05, TERRY HILL wrote:
	set ix2 to offset of endingtag in (text from
character ix1 to (count of last character of input))

You say:
text from character this to that, but you don't say "of" what string. You are missing another "of input".


	repeat with I from 1 to the count of FindList2
		set TheContent to change (FindList2's item I) into
(ReplaceList2's item I) in TheContent with whole word
	end repeat

This uses Satimage.osax, and in OSX you can save the loop and write:

set theContent to change FindList2 into ReplaceList2 in theContents with whole word

Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Using "character" in TeX-Edit (From: TERRY HILL <email@hidden>)

  • Prev by Date: Re: Regex -- TextCommands vs. Satimage
  • Next by Date: Re: Regex -- TextCommands vs. Satimage
  • Previous by thread: Using "character" in TeX-Edit
  • Next by thread: Re2: Using "character" in TeX-Edit
  • Index(es):
    • Date
    • Thread