Re: replace single occurrence
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.