on 2/18/08 7:43 AM, Dennis at [EMAIL PROTECTED] wrote: > 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.
I was likewise confused coming onto this list. Made a comment and got back a message that seemed to defend the status quo of silence. They really should be quite explicit for newcomers, not assume us dullards can figure it out on our own. ;-) The framework for this "forum" is quite old fashioned. Haven't been on such a list in years. As for the "return" solution, I've elsewhere been told the same thing. Am about two minutes away from putting it to the test. Most likely will work. Kind regards, Morley Chalmers -- Do not worry if you have built your castles in the air. They are where they should be. Now put the foundations under them. -- Henry David Thoreau -- ------------------------------------------------------------------------ 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]>
