i love me some applescript and automator, but Ill try to keep it in app first, then add more layers, thanks!
On Thu, Apr 21, 2011 at 5:12 PM, Christopher Stone < [email protected]> wrote: > On Apr 21, 2011, at 12:54, Bo wrote: > > Is there a way to paste / wrap. > ______________________________________________________________________ > > Hey Bo, > > Aside from the Markup Menu and Clippings, you can do this with Applescript: > > tell application "BBEdit" > try > tell front text window's selection > set it's contents to "<strong>" & it & "</strong>" > end tell > > on error errMsg number errNum > set sep to "==============================" > set e to sep & return & "Error: " & errMsg & return & sep & return ¬ > & "Error Number: " & errNum & return & sep > beep > display dialog e > end try > end tell > > The advantage of the other methods is that you can pack in all kinds of > conditionals if you so desire. > > -- > Best Regards, > Chris > > > -- > You received this message because you are subscribed to the > "BBEdit Talk" discussion group on Google Groups. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > <http://groups.google.com/group/bbedit?hl=en> > 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 "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> 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>
