Re: Find and replace string
Re: Find and replace string
- Subject: Re: Find and replace string
- From: Steve Foster <email@hidden>
- Date: Wed, 2 Nov 2005 10:10:09 +0000
Thanks everyone for your help.
Steve
On 2 Nov 2005, at 01:51, Gary (Lists) wrote:
"has" wrote:
Steve Foster wrote:
I am trying to work out a simple find and replace script.
I need it to replace a ^ with a carriage return.
[...]
Everything I can find on the list seems overly complicated for such a
simple task (using RegExp and shell script).
You just have to learn some AppleScript (very little, actually, to do
this
job.)
Using TextCommands
tell application "TextCommands"
search txt for "^" replacing with return
end tell
Okay, so for external application methods,
then Smile is choice also:
change "^" into return in strString
--
Gary
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
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