Christopher, the reason I am using copy and paste is that there are two separate (rather complicated) Applescripts involved here. One which selects text from one page and another that inserts that text into a placeholder. Short of using an intermediate window, I can't think of any way to transfer over 1000 lines of HTML from one window to another across scripts. I haven't tried to do it all in a single script because of timing issues. Using 'Balance Tags' seems to be a good way to select the contents of an entire div (with lots of nested divs).
Thanks again for your help. Joe On Saturday, November 1, 2014 4:56:44 PM UTC, jgill wrote: > > I'm using an AppleScript to generate a web page which needs to be saved to > a specific local folder. I can't figure out how to access BBEdit's "Save > as..." operation. "Save" is covered in the BBEdit Dictionary but not "Save > as..." > -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
