<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">• combined the two macros into one command.</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">It checks for a leading osascript, to see how to convert it. It works on selection or current line and I gave it a key equivalent of ctrl-shift-H, which we use for various “conversions” in other bundles.</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Indent is stripped (when converting back to AppleScript), ideally it should run the result through the “Re-indent Selection”, maybe that should actually be an output option provided by TM.</FONT></P> </BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV>Excellent.<DIV>I intentionally made those macros crappy so someone would feel obliged to redo them better.</DIV><DIV>HAHA! You fell for my evil plan.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Yes, it should also re-indent it for you, but the indentation rules needed a bit of work last time I used it. We can always have it indent and worry about the indent rules later.</DIV><DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV style=""><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;"><SPAN class="Apple-style-span" style="font-size: 14px; ">thomas Aylott—</SPAN></SPAN></FONT><B style="font-weight: bold; "><SPAN class="Apple-style-span" style="font-weight: bold; ">subtleGradient—</SPAN></B><FONT class="Apple-style-span" size="1"><SPAN class="Apple-style-span" style="font-size: 9px;"><SPAN class="Apple-style-span" style="text-decoration: underline;; font-size: 9px; -khtml-text-decorations-in-effect: underline; "><SPAN class="Apple-style-span" style="font-size: 9px; -khtml-text-decorations-in-effect: underline; "><A href="mailto:oblivious@subtleGradient.com">oblivious@subtleGradient.com</A></SPAN></SPAN></SPAN></FONT></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></DIV></BODY></HTML>