• 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: replace single occurrence
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: replace single occurrence


  • Subject: Re: replace single occurrence
  • From: kai <email@hidden>
  • Date: Thu, 23 Oct 2003 21:03:21 +0100

on Thu, 23 Oct 2003 10:36:16 -0600, Robert Poland wrote:

> I'm trying to create a script to automate time sheet dates in a PDF document.
>
> The current hang-up is the replace command in Tex-Edit Plus.
>
> replace looking for "XXX" replacing with startDate
>
> replace ALL occurrences, I want to replace the first one then
> increment the date and replace the next one.
>
> Tried;
>
> (search looking for "XXX") replace with startDate
>
> That finds it but doesn't replace anything.
>
> Any pointers?

Try something like this, Bob:

-----------------------------

if search looking for "XXX" then set selection to startDate

-----------------------------

---
kai
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: "mount disk" and ftp problem
  • Next by Date: Re: Need to script tracking in multiple Quark files-correction
  • Previous by thread: RE: Make Fetch Windows by shortcut call
  • Next by thread: Re: replace single occurrence
  • Index(es):
    • Date
    • Thread