On Feb 15, 2008, at 4:48 AM, Morley Chalmers wrote:
I'm using an AppleScript to search and replace in an HTML BBEdit
file. Is
there syntax available for including line returns in the replace
string? In
the following fragment I'd like to insert a real line return between
</script> and </head>.
Perhaps you could try this:
[applescript]
replace "</head>" using "<script
src=\"../media/js/mmenu.js\" type=\"text/javascript\"></script>" &
return & "</head>"
[/applescript]
Hope this helps,
Dennis
PS - My apologies if you've received this response multiple times. I
had a little mix up with using the proper email address with my
subscription.
--
------------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_script.shtml>
List archives: <http://www.listsearch.com/bbeditscripting.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>