Re: Finding a location in a text file
Re: Finding a location in a text file
- Subject: Re: Finding a location in a text file
- From: Jim Brandt <email@hidden>
- Date: Sun, 20 Nov 2005 18:57:25 -0600
tell application "Tex-Edit Plus"
tell front document
search looking for "want"
if result is true then
set | selection offset | to offset of selection
set | last delete position | to | selection offset | - 1
delete (text 1 thru character | last delete position |)
end if
end tell
end tell
Thanks, Kai, that's exactly what I needed!
Jim Brandt
_______________________________________________
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